PDA

View Full Version : Right Click Toolbar Button Customization??


NeonMojo
01-14-2007, 11:57 PM
Not sure if this is possible, but I wanted to create custom dialog boxes that pop up when you right click on a custom toolbar button similar to right clicking on any of the transform buttons.

Does anyone know the best way to do this?

Zbuffer
01-15-2007, 12:11 PM
Hi,

No, I don't think this is possible since the right-click is assigned by MAX to customize/edit the button/toolbar

but you can use the SHIFT key:
macroscript TEST
category:"Test"
buttontext:"Test"
(
on execute do
(
if keyboard.shiftPressed then
(
print "SHIFT pressed"
)
else
(
print "Nothing pressed"
)
)
)

NeonMojo
01-15-2007, 03:22 PM
Thanks for the reply. Thats too bad though if thats the case. Would be nice if there was a callback or something you could use to override that menu and run your own function instead... Anyone else got any ideas?

CGTalk Moderation
01-15-2007, 03:22 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.