![]() |
CXTPRibbonBar+ScrollBars |
Post Reply
|
| Author | |
nooneuser
Newbie
Joined: 21 July 2009 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPRibbonBar+ScrollBarsPosted: 22 July 2009 at 3:27am |
|
I wish to have CXTPRibbonBar and VScrollBar under my CMainFrame window. If i comment out creating ribbonbar i see my scrollbars and they work correctly with dialogs, but when i open ribbonbar my scrollbars wanished. Is any posibilities to use both under CMainFrame ?
|
|
![]() |
|
nooneuser
Newbie
Joined: 21 July 2009 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 July 2009 at 3:40am |
|
ok, its solved too, u have to ModifyStyle(0, WS_HSCROLL | WS_VSCROLL); after ribbonbar initialization :)
|
|
![]() |
|
nooneuser
Newbie
Joined: 21 July 2009 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 July 2009 at 3:49am |
|
and in PreCreateWindow(...) {
... cs.style ^= WS_VSCROLL | WS_HSCROLL; } and all works well |
|
![]() |
|
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 |