Archived

This topic is now archived and is closed to further replies.

Scrolling and VC++ 6.0

This topic is 5584 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What''s the command to scroll the whole window automatically somewhere whithout having to actually move each element inside. Someone showed me a function to do so, but i forgot it.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Depends. If you are using a MFC SDI or MDI application I believe that the CScrollView class has a builtinn function for that.

If you don''t, look through the documentation for CScrollView anyways. Turns out the function for scrolling the window is a modification of the Win32 API function for scrolling the window, the only difference is that the first parameter will be the handle to the client.

So, search for CScrollView, find teh function to scroll, then search through the platform SDK (or msdn) to find the Win32 function you need.

Share this post


Link to post
Share on other sites