Solved

menu bar color

Posted on 2000-02-15
7
222 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
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 20 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

688 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