Jump to content
  • Advertisement

Archived

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

vlovich

Scrolling and VC++ 6.0

This topic is 5950 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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!