Solved

Menu Bar Color

Posted on 1998-12-15
7
241 Views
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?
0
Comment
Question by:jmalcolm
7 Comments
 
LVL 12

Expert Comment

by:mark2150
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.

M

0
 

Author Comment

by:jmalcolm
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?
0
 
LVL 12

Expert Comment

by:mark2150
ID: 1450297
Change the systems colors?

M

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Expert Comment

by:thespis
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....

T
0
 
LVL 2

Expert Comment

by:mannen
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.
0
 

Author Comment

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

Accepted Solution

by:
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.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
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.
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…
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…

867 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

21 Experts available now in Live!

Get 1:1 Help Now