About Store Forum Documentation Contact



Post Reply 
Contextual Menus
Author Message
mystara Offline
Member

Post: #1
Contextual Menus
I'd like to request the ability to create contextual menus.
i.e. menus without a menu bar.

Like this:
http://www5.wind.ne.jp/miko/mac_soft/con...eCM-en.jpg
06-07-2011 09:39 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Contextual Menus
that's EE::CMenu
06-07-2011 09:51 PM
Find all posts by this user Quote this message in a reply
mystara Offline
Member

Post: #3
RE: Contextual Menus
That's awesome.
But I can't quite figure out how to make it appear. I can create() the CMenu and add it to Gui. But I can't seem to find any way to actually make it appear.

I've tried setRect, but no luck.

Any chance of an example?
06-07-2011 10:58 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Contextual Menus
Try calling activate in app update
06-08-2011 07:40 AM
Find all posts by this user Quote this message in a reply
mystara Offline
Member

Post: #5
RE: Contextual Menus
Thanks! That solved it.

I had to use Ms.b() to trigger making the contextual menu, because Ms.bp() doesn't seem to trigger on my mac, when I click the mouse button.
06-08-2011 08:02 AM
Find all posts by this user Quote this message in a reply
Post Reply