Print Page | Close Window

Ribbons with CMDiframeWnd

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=6008
Printed Date: 04 March 2025 at 2:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbons with CMDiframeWnd
Posted By: gibbo
Subject: Ribbons with CMDiframeWnd
Date Posted: 05 January 2007 at 11:05am
Hi,
Was wondering if anybody has managed to get the ribbons to work with the standard CMDIFrameWnd, instead of the CXTPMDIFrameWnd ?
 
If so, are there any disadvantages to not using the CXTPMDIFrameWnd?
Also does the CXTPMDIFrameWnd come as part of the CommandBars, if not what codejock product does it come with?
 
Thanks
 


-------------
Gibbo



Replies:
Posted By: Oleg
Date Posted: 05 January 2007 at 12:55pm

Hi,

 
you can use CXTPFrameWndBase<YourClass> instead.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: gibbo
Date Posted: 08 January 2007 at 3:52am
Hi,
So I can't use a CMDIFrameWnd Class?


-------------
Gibbo


Posted By: Oleg
Date Posted: 08 January 2007 at 5:03am
Hello,
You can.
 
Check code of Source\CommandBars\XTPFrameWnd.h
 
if you don't want use CXTPMDIFrameWnd, just copy code from CXTPCommandBarsSiteBase to your CMainFrame.
 
 what problem to change CMDIFrameWnd to CXTPMDIFrameWnd in your header?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: gibbo
Date Posted: 08 January 2007 at 8:56am
Thanks, I'll give it a go..
 
I've no problems using the CXTPMDIFrameWnd, it's just that the application that I'm upgrading is using another class for the MDIFrameWnd and was hoping not to change to much at the moment..
 
Thanks Again..


-------------
Gibbo


Posted By: Oleg
Date Posted: 08 January 2007 at 4:37pm

Hi,

as I wrote you can use template class for that
instead CXTPMDIFrameWnd use CXTPFrameWndBase<CClassNameThatWas>


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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