473,396 Members | 2,036 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

MainMenu Paint

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
Nov 20 '05 #1
2 2662
Hello,

"VSNT" <No@nO.Spam> schrieb:
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
Nov 20 '05 #2
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" <No@nO.Spam> schrieb:
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 controlcontained 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
.

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Anand Ganesh | last post by:
Hi All, I am trying to create a control - .dll file. In the toolbox the MainMenu tool is disabled. What should I do to invoke it? Why is it disbaled?
6
by: Jason Huang | last post by:
Hi, In VB, we have windows control item "MainMenu", do we have this item in the ASP.Net C# web form? Or how could we make it? By the way, how about the ASP.Net 2005? Thanks for help. Jason
2
by: Marty | last post by:
Hi, I have this issue where a form that contain a System.windows.forms.mainmenu has its height increased by the height of the mainmenu at object creation level. Here's the idea: //form...
2
by: Scott | last post by:
ok, I need to add to a list box each of the items that are in my mainmenu dynamicaly at run time. Due to the structure of adding menu items to menu items I don't see how to do this without...
5
by: Mitchell Vincent | last post by:
A picture says a thousand words, so here are 2! Design Time: http://www.ksoftware.net/examples/Clip1.jpg Run Time: http://www.ksoftware.net/examples/Clip2.jpg The problems started when I...
2
by: polocar | last post by:
Hi, I'm writing a program using Visual C# 2005 Professional Edition, and I was trying to assign multiple MainMenu objects (one by one, of course) to the same Form (let's suppose 2 MainMenu...
0
by: genojoe | last post by:
Included below are four methods and a Friend that can be inserted directly into a form that already contains Button1, Button2, and MenuStrip1. Button1 populates the MainMenu control, button2...
1
by: Benson | last post by:
I have a MainMenu (MenuStrip) which will be loaded (dynamic by codes) after the program Login form. The first time run is ok. But when I close the MainMenu and go back to Login form, and then go to...
2
by: Academia | last post by:
In an old project I still use MainMenu and ContexMenu. How can I get them to appear in my Toolbox? Thanks
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.