diskhub
1
I have create a window UI, however is there a way to track if the user were to click on the X CLOSE button on the top right of the Window?
I want to do something like if the user were to click on the X button,
another window's visibiliy turns 1. (window -visibility 1)
Can someone please guide?
amitc
2
1) Hide the title bar and create an exit/quit button. Do the stuff you want when this button is pressed and close window.
2)Create a scriptjob which does your stuff on uiDeleted event
1 Like
i think you can use
toggleWindowVisibility
check the commands for this
CODE
http://localhost:4449/Maya7.0/en\_US/Commands/toggleWindowVisibility.html