Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

menu bar color

how do you change the color of a pull down menu bar?
0
damion69
Asked:
damion69
  • 4
  • 3
1 Solution
 
Erick37Commented:
The Menubar color is a systemwide setting.  You can modify this color when your app gains focus, then restore the default when it loses focus.

"HOWTO: Use Custom System Colors Only When Your App Has Focus:

http://support.microsoft.com/support/kb/articles/Q186/0/62.ASP
0
 
damion69Author Commented:
so there is no way to change the color like you change the background color, or the lable background?
0
 
Erick37Commented:
Not that I am aware of.
The menubar is a system object, like the titlebar.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
damion69Author Commented:
but wouldnt the form also be, it is defaulted to the system color
0
 
Erick37Commented:
You have control of the form's client area.  The menubar, titlebar, and border are non-client areas and are controlled by the system settings.

You can take control of non-client areas if you do the drawing yourself.  Here are a couple of examples, although I have not tried them out.

http://www.vbthunder.com/source/menu/ownmenu.htm

http://www.geocities.com/SiliconValley/Lab/1632/owndmenu.html
0
 
damion69Author Commented:
thanks eric37
0
 
Erick37Commented:
You're welcome.
Good luck with the code, it looks daunting!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now