![]() |
Adding horizental scrollbar to MDI child |
Post Reply ![]() |
Author | |
al1976 ![]() Newbie ![]() ![]() Joined: 27 September 2004 Location: Israel Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() Posted: 03 November 2004 at 10:27am |
Hi, I have an MDI application (with view that inherits CRichEditView) and I use Office2003 theme. When I open a new document and the text exceeds the vertical boundries the vertical scrollbar appears fine. But when I cross the horizental boundries I don't get an horizental scrollbar at all and the text wraps to next line. I'm also using docking panes, and sometimes when I move them the horizen scrollbar sunddenly appears (???). I tried to add horizen scrollbar to the View like this: BOOL CMDIView::PreCreateWindow(CREATESTRUCT& cs) cs.style |= WS_HSCROLL ; return CRichEditView::PreCreateWindow(cs); And it works (horizen scrollbar appears) but it makes the view to be a single line. Please let me know how can I add horizen scrollbar. Thanks a lot. |
|
_Asafl_
|
|
![]() |
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 |