I am having trouble getting a pop-up menu (RMB) working for a ProUITree. Any advice would be appreciated.
In the routine to create the dialog: ProUIDialogCreate() ProNotificationSet (PRO_POPUPMENU_CREATE_POST, (ProFunction) exportDialogPopupCreate); ProUIDialogActivate (DIALOG_NAME, &status); ProUIDialogDestroy (DIALOG_NAME); ProNotificationUnset (PRO_POPUPMENU_CREATE_POST);
The function exportDialogPopupCreate() never gets called despite the dialog with the tree showing is displayed.
Is there any special way or locatioon to right-click? Any enabling function that needs to be invoked?
Bob Monat Jerand Technical Services, Inc. firstname.lastname@example.org www.jerand.com 1-317-875-6087
After that you can change all the insides like you want. I want to change the options are shown inside the RMBM for the different elements you can choose inside a list (so should be the same inside a tree). So I redeclare the .visible options (ProUIPushbuttonShow / ProUIPushbuttonHide) inside the RMB menu. So the menu is everytime the same, only the shown options change. For the changes I use the select action from the list item (should be also possible on a tree).