quote:
Originally posted by Matti
Do you want to destroy the window and thus triggering the Destroyed event or do you only want to call the OnWindowIdEvent_Destroyed function without actually destroying the window?
It seems to be getting a bit too confusing even for me, so I'll make an example
Say we have a window. This window has, among other things, a button and a combo box. When the button is pressed, it creates another window using a specified XML file and the WindowId from the combo box. I want to know when that window is closed by use of the OnWindowidEvent_Destroyed event, but obviously I can't unless it's possible to do something similar to this:
JScript code:
function On+GetComboText()+Event_Destroyed(oPlusWnd){
//Change some text and stuff here
}