Creating a custom context menu pop up

Creating a custom context menu pop up

Anonymous
Not applicable
1,149 Views
2 Replies
Message 1 of 3

Creating a custom context menu pop up

Anonymous
Not applicable

Taking it from here I can´t figure out how to create a context menu from "scratch".

 

I would like to make a custom context menu pop up ( or down actually 😉 ) on user interaction with my own commandcontrols.

 

Is this possible?  Either way :

 

menu_A.jpg                         menu_B.jpg

 

 

0 Likes
Accepted solutions (1)
1,150 Views
2 Replies
Replies (2)
Message 2 of 3

philippe.leefsma
Alumni
Alumni
Accepted solution

You can just use some features related to the language you are using, for example if you program in .Net:

 

http://msdn.microsoft.com/en-us/library/aa984254%28v=vs.71%29.aspx

 

There is nothing provided by the Inventor API itself that will help you creating your own context menu. You can just customize the existing native menu of Inventor whenever this one gets displayed.

 

I hope it helps,

Philippe.



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

Message 3 of 3

Anonymous
Not applicable

Hi Philippe..

 

Thanks for your answer..

 

Getting interested by the post mentioned earlier, I thought I might have missed something in the API. A clear consistency with the existing GUI would be out of the box, but as you're answer indicates : One could just copy the layout of the existing context menus.

0 Likes