Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

colors on menu bar

Posted on 2000-03-13
3
Medium Priority
?
721 Views
Last Modified: 2012-06-21
I can't find out how to change the color on the menu bar on my form. I would also like to change the color of the buttons, but when I change the property 'back color' nothing happens, It works on other controls. What do I do wrong?
0
Comment
Question by:catti
3 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 2611833
* Changing color for menubar is only possible using API calls (unfortunately can't look up the functions here and now)
* For Buttons, but you may change the type to "Graphical" instead of Standard
0
 
LVL 14

Accepted Solution

by:
mcrider earned 90 total points
ID: 2612195
EE Guidelines are that easy questions are worth 50 points...  With that said...


Before you change the backcolor of a button you need to change the STYLE property to GRAPHICAL.

To change menu colors, see the following microsoft KB article:

HOWTO: Use Custom System Colors Only When Your App Has Focus
http://support.microsoft.com/support/kb/articles/Q186/0/62.ASP?LNG=ENG&SA=MSDN&FR=0 


Cheers!®©

0
 

Author Comment

by:catti
ID: 2612377
Adjusted points to 30
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
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…
Suggested Courses

885 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