Ribbons with CMDiframeWnd |
Post Reply |
Author | |
gibbo
Groupie Joined: 04 January 2007 Location: United Kingdom Status: Offline Points: 47 |
Post Options
Thanks(0)
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
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, you can use CXTPFrameWndBase<YourClass> instead.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
gibbo
Groupie Joined: 04 January 2007 Location: United Kingdom Status: Offline Points: 47 |
Post Options
Thanks(0)
|
Hi,
So I can't use a CMDIFrameWnd Class?
|
|
Gibbo
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
gibbo
Groupie Joined: 04 January 2007 Location: United Kingdom Status: Offline Points: 47 |
Post Options
Thanks(0)
|
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
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, as I wrote you can use template class for that
instead CXTPMDIFrameWnd use CXTPFrameWndBase<CClassNameThatWas>
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |