Page 1 of 1
Popup menu
Posted: Tue Mar 01, 2011 5:07 pm
by daft
Can you do separators in a popup menu? And is there a way to change the menu dynamically? I mean depending on settings, etc, to visualize changes.
Re: Popup menu
Posted: Tue Mar 01, 2011 6:04 pm
by Trond
The line is made with MenuBar(). You can change the menu with SetMenuItemText() and SetMenuItemState(). Also you could just recreate the menu if you need big changes.
Re: Popup menu
Posted: Tue Mar 01, 2011 7:18 pm
by einander
Re: Popup menu
Posted: Tue Mar 01, 2011 8:27 pm
by daft
Thanks, guys.