I have a max gui app that now and again calls a function that briefly calls graphics does some graphics and then closes the window with endgraphics before returning to the gui
all works well, unless you close the graphics window with the close button on the top right of the toolbar, execution continues in the function and for the life of me I cant see a way of detecting the window closure...
anyone any bright ideas?
all works well, unless you close the graphics window with the close button on the top right of the toolbar, execution continues in the function and for the life of me I cant see a way of detecting the window closure...
anyone any bright ideas?