
-----------------------------------
XXX111
Thu Jan 06, 2011 5:32 pm

Stopping music when window is closed
-----------------------------------
What is it you are trying to achieve?



What is the problem you are having?



Describe what you have tried to solve this problem



Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)








Please specify what version of Turing you are using


-----------------------------------
Tony
Thu Jan 06, 2011 5:42 pm

RE:Stopping music when window is closed
-----------------------------------
I don't think you get any callbacks on a window-close event, but you could occasionally check which window is active with [tdoc]Window.GetActive[/tdoc] and infer that a window might have closed (or a user simply clicked on a different window).
