G
Guest
I have a windowless notifyicon with a ContextMenu on it. Since there is no
main window with this app, I would like to have a singleclick event on the
icon to open the contextmenu. Creating the eventhandler for the click event
is easy, but the contextmenu.show() method is looking for a windows control
to base the popup on. What control does the right-click use or is there
another way around this?
main window with this app, I would like to have a singleclick event on the
icon to open the contextmenu. Creating the eventhandler for the click event
is easy, but the contextmenu.show() method is looking for a windows control
to base the popup on. What control does the right-click use or is there
another way around this?