Add entry to menu

Add entry to menu

GeorgK
Advisor Advisor
458 Views
4 Replies
Message 1 of 5

Add entry to menu

GeorgK
Advisor
Advisor

Hello together,

 

how could I add an entry in this menu (rmb on the file)? Is there any sample code for it?

 

Thanks

 

Georg

Add_entry.jpg

0 Likes
459 Views
4 Replies
Replies (4)
Message 2 of 5

adam.nagy
Autodesk Support
Autodesk Support

Hi Gerg,

 

There does not seem to be an API for this - I logged it as a wish, id 78660

 

In the meantime you might be able to achieve it using the Windows API.

 

Cheers,



Adam Nagy
Autodesk Platform Services
0 Likes
Message 3 of 5

GeorgK
Advisor
Advisor

Hello Adam,

 

do you have a sample to achieve this?

 

Thanks

 

Georg

0 Likes
Message 4 of 5

adam.nagy
Autodesk Support
Autodesk Support

Hi Georg,

 

Sorry, I don't have one specific to this, but basically you would probaly need to use a Windows HOOK to monitor when a Menu pops up, then modify its content.

 

This sample that clicks on dialogs that pop up is following the same principle:

http://thebuildingcoder.typepad.com/blog/2009/10/dismiss-dialogue-using-windows-api.html

 

I hope this helps.

 

Cheers,



Adam Nagy
Autodesk Platform Services
0 Likes
Message 5 of 5

GeorgK
Advisor
Advisor

Hello Adam,

 

thanks for your help.

 

Georg

0 Likes