What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Scrollbar and Child Windows

Scrollbar and Child Windows
Author: Message:
mathieumg
Full Member
***


Posts: 181
Reputation: 2
35 / Male / Flag
Joined: May 2004
O.P. Scrollbar and Child Windows
I have doubts on the feasibility of this after reading this post, but I keep my hopes up.

I want to achieve something similar to this:

[Image: plusprefsscroll.png]

and I have this:

[Image: fileslisterprefsscroll.png]


When searching to see if this had been done before, I found this. This is exactly what I want to do. I also found this piece of code from Patchou, but I believe it is in C++.

I tried catching and sending SBM_ messages to my scrollbar control, but haven't had much success. I'm no expert with the Win32 API so I may have done something wrong too.

Thank you in advance for your help.
Official MessengerPlus! Live French Translator
Official StuffPlug 3 French Translator

:)
07-02-2009 07:41 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Scrollbar and Child Windows
There isn't really a way of doing this unfortunately. You can listen to the messages of the scrollbar all you want but that wont accomplish much. The reason I say this is the child windows do not have a container to stay within therefore "scrolling" or in this case adjusting the position of the top of the window will cause it to display ontop of other controls (not the desired result).

I will make a suggestion for Plus! 5 to have a couple options included.
2 attributes for Windows:
<HScrollable>True/False</HScrollable>
<VScrollable>True/False</VScrollable>

And one for the Scrollbar:
<WndScrollbar>wChildWindowOne</WndScrollbar>

This would allow the window to be scrolled internally by patchou and the scrollbar would snap to the height of the child window.

This post was edited on 07-02-2009 at 08:16 PM by matty.
07-02-2009 08:15 PM
Profile E-Mail PM Find Quote Report
mathieumg
Full Member
***


Posts: 181
Reputation: 2
35 / Male / Flag
Joined: May 2004
O.P. RE: Scrollbar and Child Windows
Thank you for the answer. So I imagine the only option for now is to make more option panels? :(
Official MessengerPlus! Live French Translator
Official StuffPlug 3 French Translator

:)
07-02-2009 08:59 PM
Profile E-Mail PM Web 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