Windows Develop Bookmark and Share   
 index > Windows Forms General > ToolBar color and Height problem
 

ToolBar color and Height problem

I am trying to get a flat toolbar to work with the lighter gray look of the XP toolbar, as with IE.

I am calling Application.EnableVisualStyles(); in Main.

I set ToolBar.Appearance to ToolBarAppearance.Flat.

However, the button bar ends up a darker gray than it should and there are are several additional pixels of gray beneath the buttons.

What am I doing wrong, if anything? 
MigrationUser 1  Friday, October 10, 2003 5:44 PM
Have you tried the magic libary toolbar.

Might be more of what you want.

Joe
MigrationUser 1  Monday, October 20, 2003 10:38 AM

You can use google to search for other answers

Custom Search

More Threads

• How to check if time date dialog (timedate.cpl) is running
• Row Colouring in DataGridView
• debug/release toolbar option disapered
• Displaying user control outside forms boundary
• Setup projects putting too many files in the Program Start menu - how to fix
• wireless network Problems
• simulate ctrl + esc keystroke
• Creating a form on a background thread
• MVC Pattern
• Extract data from a string