What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Autoscroll - RichEditControl

Autoscroll - RichEditControl
Author: Message:
geocine
New Member
*


Posts: 2
Joined: Jan 2009
O.P. Autoscroll - RichEditControl
Is it possible to do autoscrolling in a richeditcontrol. If so, i would appreciate if you would give me an example to do such.
01-09-2009 09:26 AM
Profile E-Mail PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
RE: Autoscroll - RichEditControl
Well, all I can think of is sending EM_SETSCROLLPOS into your edit control.

See EM_SETSCROLLPOS Message() for details.

Sending a message into a control can be done in 2 ways:

code:
PlusWnd.SendControlMessage(ControlID,Message /* in your case WM_SETSCROLLPOS */ ,wParam,lParam);

or

code:
Interop.Call("User32.dll","SendMessageW",PlusWnd.GetControlHancle(ControlID),EM_SETSCROLLPOS,wParam,lParam
01-10-2009 12:44 PM
Profile PM Find Quote Report
geocine
New Member
*


Posts: 2
Joined: Jan 2009
O.P. RE: Autoscroll - RichEditControl
Anyway, I got it. Here is what i did

PlusWnd.SendControlMessage(ControlID,256,0x0022,0)
01-11-2009 10:10 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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