[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

menu bar color

Posted on 2000-02-15
7
Medium Priority
?
231 Views
Last Modified: 2010-05-02
how do you change the color of a pull down menu bar?
0
Comment
Question by:damion69
  • 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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

590 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