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:
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: [questions] focus to a control + default submit button
1:
code:
//7 = WM_SETFOCUS
PlusWnd.SendControlMessage('ControlId', 7, 0, 0);

2:
code:
<Control xsi:type="ButtonControl" Id="BtnCancel">
    <Position Top="0" Width="50" Left="0"/>
    <Caption>&amp;Cancel</Caption>
    //Make this button that is clicked when user presses Enter key
    <Attributes><IsDefault>true</IsDefault></Attributes>

</Control>

This post was edited on 06-27-2006 at 07:26 AM by Eljay.
06-27-2006 07:25 AM
Profile 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