Computer Science Canada

Stopping music when window is closed

Author:  XXX111 [ Thu Jan 06, 2011 5:32 pm ]
Post subject:  Stopping music when window is closed

What is it you are trying to achieve?
<Replace all the <> with your answers/code and remove the <>>


What is the problem you are having?
<Answer Here>


Describe what you have tried to solve this problem
<Answer Here>


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
<Answer Here>

Turing:


<Add your code here>



Please specify what version of Turing you are using
<Answer Here>

Author:  Tony [ Thu Jan 06, 2011 5:42 pm ]
Post subject:  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 Window.GetActive and infer that a window might have closed (or a user simply clicked on a different window).


: