I think I figure it out.
Since this is based from the SDK's (the source for the toolbox is in the toolslib), I think it bought to light a problem that is mentioned on the microsoft website.
PRB: Menus for Notification Icons Do Not Work Correctly
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q135788&
But basically, the way to solve it is to make the main panel active when bringing up the menu. so do the following:
case EVENT_RIGHT_CLICK:
SetActivePanel (g_panelHandle); strcpy (eventName, "Right button down\n");
break;
This should make the menu behave correctly.
Hope this helps
Bilal Durrani
NI
Bilal Durrani
NI