Ahh I knew it was there somewhere
Cheers
Splinter98
Edit: After Finally getting around to play with this, I cant seem to get the On
windowidEvent_MessageNotification to be called, thus being unable to parse the it to be able to do what i want.
Below is my test Window (completely basic)
code:
<Window Id="Wndtest" Version="1">
<DialogTmpl/>
<Position Width="100" Height="100"/>
</Window>
And here are my two functions to test it:
code:
function test() {
var PlusWnd = MsgPlus.CreateWnd("OptionsWindow.xml", "Wndtest", 0);
PlusWnd.RegisterMessageNotification(0x100);
}
function OnWndtestEvent_MessageNotification(PlusWnd, nMessage, wParam, lParam) {
Debug.trace("called");
}
i call test and the window displays fine but i can't get the Notification that i have pressed a button (or the Enter key). Again I have searched the forums and MSDN but I just go round in circles and the information isn't stored in one place that is easy to find. (i do knw that the code shld get MessageNotification to be called when a Key is pressed down)
Edit2: Nerver mind have been able to do it using a hidden button