Hi Andrew,

You cannot reuse the existing select tool context menus but you can definitely 
setup your own context menus.

All you need to do is:

1) declare a MenuInit callback on your tool which will be called to populate 
menu
2) call ShowContextMenu to show the menu (e.g. when the user clicks the right 
mouse button down)

http://download.autodesk.com/global/docs/softimage2014/en_us/sdkguide/index.html?url=si_cpp/classXSI_1_1ToolContext.html,topicNumber=si_cpp_classXSI_1_1ToolContext_htmldccb5d73-183f-47c7-9bd8-bf02334bf002
--
Brent


From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Andrew Prostrelov
Sent: 16 August 2017 18:45
To: Official Softimage Users Mailing List. 
https://groups.google.com/forum/#!forum/xsi_list 
<softimage@listproc.autodesk.com>
Subject: XSI SelectTool context menus.

Hello guys.
I'm looking for a way to add SelectTool context menus to my CustomTool.
This menus: http://imgur.com/a/oUyLa
Is there any way to reach Select Tool RMB menu ?
I guess this menus are dynamically generated, so maybe they can be reached 
outside of SelectTool.
------
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Reply via email to