Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating a custom context menu pop up

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
noontz
998 Views, 2 Replies

Creating a custom context menu pop up

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

 

 

2 REPLIES 2
Message 2 of 3
philippe.leefsma
in reply to: noontz

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
noontz
in reply to: philippe.leefsma

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report