matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: [questions] focus to a control + default submit button
code: /*
Create the Window
*/
var Wnd = MsgPlus.CreateWnd('xmlfile.xml', 'WindowId');
/*
Click Default Button
*/
Wnd.SendControlMessage('sControlId', 256 , 32, 0); // WM_KEYDOWN = 256
Wnd.SendControlMessage('sControlId', 257 , 32, 0); // WM_KEYUP = 257
This post was edited on 06-27-2006 at 03:57 AM by matty.
|
|