What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] EditControls... but how can I control them?

[?] EditControls... but how can I control them?
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
O.P. [?] EditControls... but how can I control them?
So far, I was able to do everything I needed with just the PlusWnd::GetControlText and PlusWnd::SetControlText functions. But now I'm quite stuck. I want to change the position of the cursor in an EditControl, and set a selection. According to MSDN, it has to be possible, but those messages don't seem to have effect on them:
code:
var EM_SETSEL = 0xB1;
var pos = 2;
PlusWnd.SendControlMessage(PlusWnd.GetControlHandle("EdtExp"), EM_SETSEL, pos, pos+1);
should do it, but it doesn't. :(

Any ideas? :)
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
12-02-2006 03:39 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] EditControls... but how can I control them? - by Matti on 12-02-2006 at 03:39 PM
RE: [?] EditControls... but how can I control them? - by Eljay on 12-02-2006 at 04:07 PM
RE: [?] EditControls... but how can I control them? - by Matti on 12-02-2006 at 05:14 PM
RE: [?] EditControls... but how can I control them? - by Mnjul on 12-03-2006 at 02:24 PM
RE: [?] EditControls... but how can I control them? - by Matti on 12-03-2006 at 02:47 PM


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