Evening all,

If I wanted to create my own enhanced MainMenu control from scratch by inheriting from the MainMenu control provided by Microsoft, what events would I need to implement?

i.e. what I want to do is add a few new properties to the mainmenu and menuitem properties to add new functionality to the control, for example add icons and colour to the menuitems.

I'm guessing that my control would have two classes:
Code:
Public Class EnhancedMainMenu : Inherits System.Windows.Forms.MainMenu

   ' Functions & Subs go here

End Class


Public Class EnhancedMenuItem : Inherits System.Windows.Forms.MenuItem

   ' Functions & Subs go here

End Class
but how do I get the two classes to talk to each other so that when I add the control to my form I can build menus as I would if I were using the standard MainMenu control supplied by Microsoft?

Thanks in advance,

B.