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.
|