What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Help] EditControl scroll bar

[Help] EditControl scroll bar
Author: Message:
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: [Help] EditControl scroll bar
Yes, you will need to define those in your JS. I suggest you to make them public (put them over all other code):
code:
var EM_SCROLL = 181;
var SB_PAGEDOWN = 3;

Those are defined in "windows.h", a C/C++ header file. I have given you the right values, so just enjoy it! :-)

To find windows messages out yourself, I suggest you to download the Platform SDK (if you don't already have it), and open "winuser.h" or "windows.h", and find the value you are looking for.

Also, make sure you send this message to the richedit/edit, not the whole PlusWnd.

Edit: windows.h is a C header file. :P

Edit2: In order to make this work, you will have to call like this:
code:
Window1.SendControlMessage("Test", EM_SCROLL, SB_PAGEDOWN, 0);
);

This post was edited on 05-01-2007 at 06:57 PM by vikke.
4 8 15 16 23 42
05-01-2007 06:54 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Help] EditControl scroll bar - by Paril on 05-01-2007 at 04:10 PM
RE: [Help] EditControl scroll bar - by Paril on 05-01-2007 at 06:36 PM
RE: [Help] EditControl scroll bar - by vikke on 05-01-2007 at 06:54 PM
RE: [Help] EditControl scroll bar - by Paril on 05-01-2007 at 06:57 PM
RE: [Help] EditControl scroll bar - by vikke on 05-01-2007 at 06:58 PM
RE: [Help] EditControl scroll bar - by Paril on 05-01-2007 at 07:00 PM
RE: [Help] EditControl scroll bar - by matty on 05-01-2007 at 07:24 PM
RE: [Help] EditControl scroll bar - by Paril on 05-01-2007 at 07:25 PM
RE: [Help] EditControl scroll bar - by J-Thread on 05-01-2007 at 09:53 PM
RE: [Help] EditControl scroll bar - by Paril on 05-01-2007 at 11:16 PM
RE: [Help] EditControl scroll bar - by deAd on 05-01-2007 at 11:42 PM
RE: [Help] EditControl scroll bar - by Paril on 05-02-2007 at 12:06 AM
RE: [Help] EditControl scroll bar - by Matti on 05-02-2007 at 12:30 PM
RE: [Help] EditControl scroll bar - by Paril on 05-02-2007 at 11:04 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