Menu Bar Color

Posted on 1998-12-15
Last Modified: 2010-05-03
I want to force my menu bar color to be black and my text to be white in my application (I know it sounds hideous, but just trust me..).  Anyhow, is there an API call that can do this, or am I just Out of luck?
Question by:jmalcolm
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
LVL 12

Expert Comment

ID: 1450295
Menu bar color is global as part of windows general color scheme. You change *YOUR* menu bar, you're changing *EVERY* menu bar. Great way to PO users.



Author Comment

ID: 1450296
Well here's the skinny.  My app doesn't utilize the standard menu bar.  I want a popup menu, and the system colors look horrible with my app.  I want a black pop-up with white text.  I don't want to have to write a workaround like creating my own user control that pops up and I have to write all the functionality.  Any ideas?
LVL 12

Expert Comment

ID: 1450297
Change the systems colors?


Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now


Expert Comment

ID: 1450298
I don't think you're going to have much luck, EXCEPT by making your pop-up menu more of a pop-up Form, which could be any color you wanted....


Expert Comment

ID: 1450299
NO API Calls.... but set the forms Caption to "",
ControlBox to False. Then add a PictureBox with the Align set to "Top", and its backcolor to black (&H00000000&). Voila.

Author Comment

ID: 1450300
I actually wanted to change the menu bar, not the title bar...
LVL 13

Accepted Solution

Mirkwood earned 100 total points
ID: 1450301
In VB it is inpossible. In C++ you could superclass your window and handle the NC paint. Similar like drawing the caption gradient.
But you have to draw it all yourself.

Featured Post

Industry Leaders: 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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

728 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