Valhalla Legends Forums Archive | General Programming | Menu Bar Colors

AuthorMessageTime
haZe
Is it possible to make the menubar with a black background and a white forecolor instead of the grayish background with black text?
Please only reply if your going to help.
February 13, 2003, 3:08 PM
Noodlez
https://davnit.net/bnet/vL/?board=general_prog;action=display;num=1044420275
February 13, 2003, 4:00 PM
haZe
i couldnt find it on there......
February 13, 2003, 8:31 PM
Ickypoopy
You have to process the WM_CTLCOLORSCROLLBAR message, and return a handle to the brush to color it.
February 13, 2003, 8:44 PM
haZe
wha? lol
February 14, 2003, 7:20 AM
Ickypoopy
Whenever your program receives that message, you need to specify a return value that is a handle to the brush you want to color it with.
February 14, 2003, 10:48 AM
haZe
could u plz tell me how to do that?
is all i do is put
CALL WM_CTLCOLORSCROLLBAR
?
a little more help plz
February 14, 2003, 4:10 PM
Yoni
It's not a function; it's a Windows message constant for the SendMessage function.

Read here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/Windowing/MessagesandMessageQueues/MessagesandMessageQueuesReference/MessagesandMessageQueuesFunctions/SendMessage.asp

And here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/scrollbars/scrollbarreference/scrollbarmessages/wm_ctlcolorscrollbar.asp

And in general here:
http://msdn.microsoft.com/library/default.asp

(Memorize the last URL for best results)
February 14, 2003, 4:20 PM

Search