PopupMenu - general usage?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/10/2005 at 03:18, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.1
Platform: Windows ;
Language(s) : C++ ;---------
Now that I have designed my popup menu, I realized I don't know how to check when a user a clicked on a popupmenu item.In a GeUserArea::InputEvent I am using the ShowPopupMenu function to display a popup menu
ShowPopupMenu(NULL, MOUSEPOS, MOUSEPOS, bc, POPUP_BELOW|POPUP_EXECUTECOMMANDS);
But how do I check which menu entry was clicked?
A GeUserArea does't have a Command() method (like the GeDialog does).I have tried checking in GeUserArea::Message and GeUserArea::CoreMessage for some kind of message telling me which menu has been clicked, but I can't seem to find anythinf relating to menus
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/10/2005 at 03:49, xxxxxxxx wrote:
Check the return value. ("The ID of the selected item, or NULL if nothing was selected.")
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/10/2005 at 04:55, xxxxxxxx wrote:
Thanks,
I feel silly, didn't notice that the menu returns the id sigh
Thanks