What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Cursor Position in Plus text boxes

Cursor Position in Plus text boxes
Author: Message:
felipEx
Scripting Contest Winner
***


Posts: 378
Reputation: 24
35 / Male / Flag
Joined: Jun 2006
RE: RE: Cursor Position in Plus text boxes
quote:
Originally posted by Patchou
you can send the EM_GETSEL message. In version 4.21, some new functions have been added to add more support for edit controls.

Hi Patch.
you would have to consider the use of <MaxLength>   :P

it can be possible with API.
code:
var EM_LIMITTEXT = 0xC5;
Interop.Call("user32", "SendMessageW", PlusWnd.GetControlHandle("mytxt"), EM_LIMITTEXT, 11 /* or new maxlength value */ , 0);
04-07-2007 08:48 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Cursor Position in Plus text boxes - by win_crook on 04-07-2007 at 05:47 PM
RE: Cursor Position in Plus text boxes - by Patchou on 04-07-2007 at 06:04 PM
RE: Cursor Position in Plus text boxes - by win_crook on 04-07-2007 at 06:21 PM
RE: RE: Cursor Position in Plus text boxes - by felipEx on 04-07-2007 at 08:48 PM
RE: Cursor Position in Plus text boxes - by win_crook on 04-08-2007 at 12:00 PM
RE: Cursor Position in Plus text boxes - by effection on 04-08-2007 at 12:32 PM
RE: Cursor Position in Plus text boxes - by win_crook on 04-08-2007 at 12:36 PM
RE: Cursor Position in Plus text boxes - by matty on 04-08-2007 at 02:44 PM
RE: Cursor Position in Plus text boxes - by win_crook on 04-08-2007 at 02:49 PM
RE: Cursor Position in Plus text boxes - by Felu on 04-08-2007 at 03:41 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