Find text autoscroll in MFC CRichEditView -
I have an application with a CRICHEditView, and I want to find text in it.
By creating a "Find" menu item with ID_EDIT_FIND, the view opens the search window and the text is found by highlighting. But ... this view has not been scrolled, so if a text is shown below 100 lines, then that is what
do the control autoscroll so that the item will always appear ?
OK, answer:
ctrl.SetOptions (ECOOP_OR, ECO_AUTOVSCROLL);
The move was :)
Comments
Post a Comment