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
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