Print Page | Close Window

CXTPRibbonBar+ScrollBars

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=14790
Printed Date: 06 October 2024 at 5:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPRibbonBar+ScrollBars
Posted By: nooneuser
Subject: CXTPRibbonBar+ScrollBars
Date Posted: 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 ?



Replies:
Posted By: nooneuser
Date Posted: 22 July 2009 at 3:40am
ok, its solved too, u have to ModifyStyle(0, WS_HSCROLL | WS_VSCROLL); after ribbonbar initialization :)


Posted By: nooneuser
Date Posted: 22 July 2009 at 3:49am
and in PreCreateWindow(...) {
...
cs.style ^= WS_VSCROLL | WS_HSCROLL;
}

and all works well



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net