Solved

menu bar color

Posted on 2000-02-15
7
214 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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VBA to format 3 80
VB6 add a minute to the date time value 8 45
Vb.net 2008 2 51
add text to end of existing text in file 16 62
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

759 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now