?
Solved

menu bar color

Posted on 2000-02-15
7
Medium Priority
?
225 Views
Last Modified: 2010-05-02
how do you change the color of a pull down menu bar?
0
Comment
Question by:damion69
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 32

Expert Comment

by:Erick37
ID: 2524598
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
 
LVL 2

Author Comment

by:damion69
ID: 2524739
so there is no way to change the color like you change the background color, or the lable background?
0
 
LVL 32

Expert Comment

by:Erick37
ID: 2524765
Not that I am aware of.
The menubar is a system object, like the titlebar.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 2

Author Comment

by:damion69
ID: 2524772
but wouldnt the form also be, it is defaulted to the system color
0
 
LVL 32

Accepted Solution

by:
Erick37 earned 80 total points
ID: 2524796
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
 
LVL 2

Author Comment

by:damion69
ID: 2524800
thanks eric37
0
 
LVL 32

Expert Comment

by:Erick37
ID: 2524833
You're welcome.
Good luck with the code, it looks daunting!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month14 days, 9 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question