I’ve got a little question:
does anybody know a good Win32-Declare to change the Titlebar-Color of an application window,
running Windows 10 - but not changing the color of all Application-Titlebar-Colors as for the Explorer.exe?
@Peter Job - Sometimes it’s necessary to provide a color-feedback for the user - like the importance of a window, which popped up.
The ability to change the titlebar color does not inherit bad design or user feedback, it’s more like providing a more versatile feedback. On the same hand it’s necessary if your developing a “pro-app” like a productive suite with a complete different color-sheme, then you need a colored titlebar, e.g.:
@Tim Jones - thanks for your advice, but to be honest, I did not found the correct module or class, which enables me to change the titlebar-color.
That’s no option at this point of development.
The option of creating an own window-chrome is possible, but I’d like to provide the most common os-based design-priciples.
At the moment I’m to stupid to convert this VB snippet into a working RB snippet, is there someone somewhere converting it successfully? “not used to VB and win32, declares and datatype-conversion”
[quote=253552:@Michel Bujardet]The declares are already created in WFS you can download at https://github.com/arbp/WFS
Use the search feature by the name of the call, for instance SetWindowLong, and you find it immediately.[/quote]
Can someone please provide a bit more detail on how to do this? I have tried the MaskWFS function, but it doesn’t seem to do anything.