Change Menu Bar Backgroud Color
-
Does anyone know how to change the backgroud color of the entire Menu Bar? Thanks in advance!
You must either change your system colors (applies to all applications) or owner-draw your entire main form and paint a different fill color in the area occupied by the menu. The
MainMenu
is not a control and cannot be drawn individually.Microsoft MVP, Visual C# My Articles
-
You must either change your system colors (applies to all applications) or owner-draw your entire main form and paint a different fill color in the area occupied by the menu. The
MainMenu
is not a control and cannot be drawn individually.Microsoft MVP, Visual C# My Articles
-
Could you give me a little hint on how to do the Owner Draw on the form and fill in different color for the whole Menu Bar area?
See the
Control.OnPaint
method documentation in the .NET Framework SDK. Override this in your form. If you don't know how to perform owner drawing, then you better do a search here on CodeProject. It's not trivial.Microsoft MVP, Visual C# My Articles