How to do what the Windows X button does?
Posted on 2006-11-05
I have an EXIT button on my animation that does an fscommand ("quit") to close down the projector, i.e., the stand along embedded player, but when I'm just running from Ctrl+Enter, the button has no effect, of course. But I'd like it to close the animation anyway, even though I could just as easily click the Windows window X button. So what code can I execute that will do the same thing that the Windows X is doing? Also is there a way the animation code can tell if it's being run by Ctrl+Enter or by the projecter?