What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [questions] focus to a control + default submit button

[questions] focus to a control + default submit button
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
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.
06-27-2006 03:54 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[questions] focus to a control + default submit button - by cooldude_i06 on 06-27-2006 at 03:16 AM
RE: [questions] focus to a control + default submit button - by matty on 06-27-2006 at 03:54 AM
RE: [questions] focus to a control + default submit button - by cooldude_i06 on 06-27-2006 at 06:43 AM
RE: [questions] focus to a control + default submit button - by Eljay on 06-27-2006 at 07:25 AM
RE: [questions] focus to a control + default submit button - by cooldude_i06 on 06-27-2006 at 08:21 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On