CRichtEditView Vertical Auto Scrolling
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hallo friends, I need to enable the auto scrolling feature in my CRichEditView SDI Application , that i must not everytime scroll down with the mouse, please help. i use the following code in CTest_View.cpp but it did not work:// class CTest_View: public CRichEditView BOOL CTest_View::PreCreateWindow(CREATESTRUCT& cs) { cs.style &=~ (ECO_AUTOHSCROLL | ECO_AUTOVSCROLL); cs.style |= (WS_HSCROLL | WS_VSCROLL); cs.style |= (ES_MULTILINE | WS_HSCROLL | WS_VSCROLL | ES_DISABLENOSCROLL); return CRichEditView::PreCreateWindow(cs); }