• Advertisement


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

scroll bar range SetScrollSizes(), MFC C++

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