How to change the color of Title bar ?
C / C++ / MFC
4
Posts
4
Posters
0
Views
1
Watching
-
any idea on how can the normally blue color of title bars can be changed.
-
any idea on how can the normally blue color of title bars can be changed.
Use
SetSysColors()
withCOLOR_GRADIENTACTIVECAPTION
andCOLOR_ACTIVECAPTION
.Best wishes, Hans
[CodeProject Forum Guidelines] [How To Ask A Question] [My Articles]
-
any idea on how can the normally blue color of title bars can be changed.
-
Use
SetSysColors()
withCOLOR_GRADIENTACTIVECAPTION
andCOLOR_ACTIVECAPTION
.Best wishes, Hans
[CodeProject Forum Guidelines] [How To Ask A Question] [My Articles]
Won't the use of SetSysColor() set the color of the title bars across the OS? If affirmative, this doesn't seem to be a good idea.
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_