Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Ribbon in MDI app not derived from CMDiframeWnd
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon in MDI app not derived from CMDiframeWnd

 Post Reply Post Reply
Author
Message
mrmathis View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 May 2007
Location: United States
Status: Offline
Points: 105
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrmathis Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon in MDI app not derived from CMDiframeWnd
    Posted: 30 August 2007 at 6:25pm
My application is MDI but not derived from CMDIFrameWnd.  I'd like to get the minimize/restore/close buttons in my ribbon.  From browsing CXTPMenuBar::RefreshMenu and related functions, it appears that a good bit of code (SyncActiveMdiChild, m_bMdiApp, GetActiveMdiChildWnd, etc) depends on CMDIFrameWnd subclassing.  Is there any way to get the system buttons without such subclassing?

I'm running Codejock 10, but eagerly awaiting 11.4. 

--Mike

--Mike
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2007 at 5:46am
Hi,
 
Unfortunatelly according MFC architecture it can work only with CMDIFrameWnd deriver window. Why you can't derive from CMDIFrameWnd?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.