Solved

Menu Bar Color

Posted on 1998-12-15
7
249 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
[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
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
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!

 

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

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

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

730 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