Menu - Background and foreground coloring

Agent
05-19-2002, 05:15 PM
What is the simplest way to change the color of a
standard menu's foreground (text) and background
color?

Also, does Windows like it when I do this? Does it
require subclassing?

Squirm
05-19-2002, 05:17 PM
Owner Drawn menus (http://www.visualbasicforum.com/showthread.php?s=&threadid=14486) courtesy of The Hand. And yes, it is subclassing. :)

Agent
05-19-2002, 05:33 PM
I don't see nothing about changing the text color. Is that possible you reckon?

Aspen2K
05-19-2002, 06:24 PM
Try looking in the Private Sub useCustomFonts(aBoolean As Boolean) sub.

Further, you can change this line to another rgb color of your choice.

gMenuFontColor = RGB(118, 107, 209)

Hth
Aspen2k

Agent
05-19-2002, 07:55 PM
Dag on it! I didn't know I had the old version. That
is why I didn't see that line. Thanks anyways or
thank you.
:)

Garrett Sever
05-19-2002, 08:10 PM
I will post a newer version sometime soon that works with multiple forms, MDI forms, and toolbars.

Its on my list of to-dos as part of the Forum Client articles.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum