Jump to content
  • Advertisement


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


scroll bar range SetScrollSizes(), MFC C++

This topic is 5444 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

Hello, I need to create an editor that can scroll a long DNA sequence (....ACTGCTCGACTCTC...) with about 10,000 - 100,000 words. I created a scroll-bar view with the class CScrollView (MFC), so that the user can travel through the long sequence with the scroll bar. Everything is fine except of one problem: the scroll bar range is limited and it scrolls no more than about 2000 words. I use SetScrollSizes(MM_TEXT,CSize(32700,100)) to determine the size of the logical window (it can't except more than 32700=int). If you have an idea, I would be happy to know [edited by - asam on November 27, 2003 8:59:29 PM]

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!