A
Andre Nogueira
Hi there.
I have created a Windows Control Library project within my solution (using
VB.Net 2003) and created a control which inherits the MenuItem class but
takes cares of the drawing of the menu.
So far so good. It takes care of all the drawing of the menuitems if they
are part of the form's mainmenu or if they are part of a context menu of an
item of the form (Listview, etc).
However, if the context menu is assigned to the Notify Icon control, the
menus are NOT drawn. The menus become just a few pixels wide with no text or
anything on them.
Why does this happen? Am I doing something wrong or is it a bug? Thanks!
André Nogueira
I have created a Windows Control Library project within my solution (using
VB.Net 2003) and created a control which inherits the MenuItem class but
takes cares of the drawing of the menu.
So far so good. It takes care of all the drawing of the menuitems if they
are part of the form's mainmenu or if they are part of a context menu of an
item of the form (Listview, etc).
However, if the context menu is assigned to the Notify Icon control, the
menus are NOT drawn. The menus become just a few pixels wide with no text or
anything on them.
Why does this happen? Am I doing something wrong or is it a bug? Thanks!
André Nogueira