MainMenu Paint

V

VSNT

Is there a way to paint the backcolor of a main menu. I
can paint the menu ites from the size and paint events
but there doesnot appear to be an accessable paint method
for the actual MainMenu control. The Idea is to not have
a standard windows MainMenu (AKA: Gray in in most cases)
but something that matches and flows with the rest of the
GUI. Any ideas much apreciated.
Thanks,
Allen
 
H

Herfried K. Wagner [MVP]

Hello,

VSNT said:
Is there a way to paint the backcolor of a main menu. I
can paint the menu ites from the size and paint events
but there doesnot appear to be an accessable paint method
for the actual MainMenu control. The Idea is to not have
a standard windows MainMenu (AKA: Gray in in most cases)
but something that matches and flows with the rest of the
GUI.

Maybe you should have a look at the implementation of the menu control
contained in the Magic Library[1].

[1] http://www.dotnetmagic.com/features.html
 
V

VSNT

Yes the Magic lib is nice but i need to color the actual
menubar not just the menu items which the magic library
as far as i can see only does the menu items using there
paint event not the actual menubar. If its in there and i
just cant find it could you give me a hint to where it
is. Greatly apreciated.
Allen
-----Original Message-----
Hello,

VSNT said:
Is there a way to paint the backcolor of a main menu. I
can paint the menu ites from the size and paint events
but there doesnot appear to be an accessable paint method
for the actual MainMenu control. The Idea is to not have
a standard windows MainMenu (AKA: Gray in in most cases)
but something that matches and flows with the rest of the
GUI.

Maybe you should have a look at the implementation of the menu control
contained in the Magic Library[1].

[1] http://www.dotnetmagic.com/features.html

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top