Hello,
Can anyone show me how to scroll both raphics and controls in a window?
Any help would be appreciated.
Haim
Haim,
There are a number of ways to accomplish it. The easiest is to use two windows, the main window that has the scrollbars and a child container window, captionless, that contains the controls. When a scrollbar moves you offset the position of the child container window with the negative scroll amount, using SETSIZE.
The child container window becomes your virtual document then, and can be any size which determines the range of the parents scrollbars.
Try it for yourself, and if you get stuck then post here and I'll lend a hand.
Paul.
Thanks,
I'll try it.
Haim