Hi Cj,
Thanks for your post!
Yes, the .Net MainMenu component encapsulates the Win32 Menus API such as
CreateMenu, InsertMenuItem etc.. APIs to implement the main menu on the
form. So it only supports standard main menu function of a window.
Normally, the bar-look style menus in some commercial applications are not
implemented by the standard menu Win32 APIs, they normally use some
customized ToolBar to achieve the effect. Let's take IE as an example, its
main menu is called menu-bar, which is actually a ToolBar control, please
refer to the article below for more information:
"Creating an Internet Explorer-style Menu Bar"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla
tform/commctls/faq/iemenubar.asp
Fortunately, in .Net2.0, Winform has provided ToolStrip and MenuStrip
controls which support much more customized features. You may give these 2
controls a try. I think it should meet your need.
Hope this helps!
Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.