-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow customizing scrollbar color and size for full screen mode #751
Comments
Unfortunately, MS makes it really cumbersome to get such adaption accomplished. Rather than adjust GUI elements automatically to themes, they require programmers to do complex and unintuitive extra work to enable this kind of behaviour. If you provide some guidance how to achieve it at the Windows API, I'll gladly tweak that. |
As documented, the windows message WM_CTLCOLORSCROLLBAR should facilitate setting the scrollbar look by returning a "brush". However, mintty does not receive this message... |
FYI: |
Thanks, Brian, for reading that description more carefully than I did... |
From other info I read, ignore the "flat" as those functions are no longer supported, just setup or modify the properties of your window scroll bars using the regular scroll bar functions. |
Which scroll bar functions? Right now, mintty only enables a scroll bar with the WS_VSCROLL "style" and listens to some scrollbar events ("messages"). |
How is this actually related to full-screen mode (issue title)? |
Sorry I thought I had already replied to comment .-2 - see Windows Scroll Bar Functions at https://msdn.microsoft.com/en-us/library/windows/desktop/ff486021(v=vs.85).aspx |
OK, but those functions do not offer any way to customize the scrollbar appearance. |
So mintty would have to add support for either desktop themes, or DIY user-draw control? |
"Would" - if you consider it worth the effort. |
Also, on Windows 10, the window border and scrollbar do not take the
AppsUseLightTheme
DWORD inHKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize
into account, so there is no way to visually match the selected theme in the Options/Looks menu.For me personally, customizing the scrollbar size is not as high priority as customizing its color, though it would be nice if I could make it look like the one on recent versions of Gnome Terminal:
The text was updated successfully, but these errors were encountered: