![]() |
Horizntal scrollbar |
Post Reply ![]() |
Author | |
al1976 ![]() Newbie ![]() ![]() Joined: 27 September 2004 Location: Israel Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() Posted: 13 November 2004 at 7:43am |
Hi, I have an MDI appliaction (CXTPMDIFrameWnd) with CRichEditView that is set to read only. When I insert text to the view (not by keyboard, by mscomm ctrl) I do get the Veritcal scroll bar but not the horizental scroll bar. I tried to add it using BOOL CMVTerminalView::PreCreateWindow(CREATESTRUCT& cs) cs.style |= WS_HSCROLL | ES_MULTILINE; } But it doesn't work. Could someone tell me how to do it the right way (getting horizental scrollbar automatically when text get to the window boundry))? Thanks.
|
|
_Asafl_
|
|
![]() |
|
mjm_d ![]() Newbie ![]() Joined: 20 September 2005 Status: Offline Points: 10 |
![]() ![]() ![]() ![]() ![]() |
CXTPMDIFrameWnd same too BOOL CXTPMDIFrameWnd::PreCreateWindow(CREATESTRUCT& cs) cs.style |= WS_HSCROLL | ES_MULTILINE; } maybe |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |