Thanks
, I'll have a play around with the info you've given me
The window disable works great (although if you go off the windows and then back to the conversation window the xml window isn't on top) but thanks anyway, I'm sure it's fine as it is
As for the closing problem this is basically what I've got:
code:
function OnconfirmEvent_CtrlClicked(Wnd, Id){
if(Id == "BtnYes"){
// do other stuff I want it to do, then:
return Message;
Wnd.Close(0);
Interop.Call("user32.dll", "EnableWindow", ChatWnd.Handle, true);
}else{
Wnd.Close(0);
Interop.Call("user32.dll", "EnableWindow", ChatWnd.Handle, true);
// do other stuff I want it to do, then:
return false;
}
}