Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scroll down view in OnUpdate(); 1

Status
Not open for further replies.

MvanH

Technical User
May 15, 2001
19
0
0
NL
Does anybody know how to scroll a document view to the bottom of the document from within the OnUpdate function?

I want to scroll down my document that is in a CeditView derived class.
I would like to do this in OnUpdate so that the view is scrolled down to the bottom of the document every time the document changes.

I tried to use GetScrollRange(..) and SetScrollPosition(..)
Unfortunatly, now only the scroll bar is at the bottom position and not my document view.

How do I scroll down my view?

Thanks for the Help
Martini

 
You can create your cedit with stile autoscroll (as I remember in WinAPI is ES_AUTOSCROLL). John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top