Scrolling the ScrollBars
-
Hi, How can I scroll the standard ScrollBars of an MDI Form, programatically ?? (note: I am talking about the Standard/Default scrollbars and not the ScrollBar control) I tried using the Following APIs : SendMessage(...WM_VSCROLL...) and SetScrollPos(...) But it doesnt work...:( Please someone suggest me a way to do this... Thanks, FiroZ
-
Hi, How can I scroll the standard ScrollBars of an MDI Form, programatically ?? (note: I am talking about the Standard/Default scrollbars and not the ScrollBar control) I tried using the Following APIs : SendMessage(...WM_VSCROLL...) and SetScrollPos(...) But it doesnt work...:( Please someone suggest me a way to do this... Thanks, FiroZ
Try using the following API functions... ScrollWindow() ScrollWindowEx() I haven't tested it on an MDI form yet, but logically it should work. Also, don't forget to call UpdateWindow() afterwards, so the the client area is redrawn. Jeremy L. Falcon "The One Who Said, 'The One Who Said...'"