Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Make CXTPMenuBar::SwitchMDIMenu virtual
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Make CXTPMenuBar::SwitchMDIMenu virtual

 Post Reply Post Reply
Author
Message
Dmitry View Drop Down
Groupie
Groupie


Joined: 28 November 2004
Location: Australia
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dmitry Quote  Post ReplyReply Direct Link To This Post Topic: Make CXTPMenuBar::SwitchMDIMenu virtual
    Posted: 14 April 2008 at 9:25pm
Hi,

The CXTPMenuBar currently supports multiple MDI menus via different document templates.

However, it does not support all possible MDI menus of the same template, like the pTemplate->m_hMenuInPlaceServer & pTemplate->m_hMenuEmbedding etc. Currently, it only supports m_hMenuDefault and m_hMenuShared per document template.

Ie, the CXTPMenuBar::SwitchMDIMenu recieves the HMENU from the MFC code in CMDIChildWnd::OnUpdateFrameMenu, and one of the possible values of hMenuAlt is pDoc->GetDefaultMenu(), which can be COleServerDoc::GetDefaultMenu().

Now, Codejock can endeavour to support all of them, or it can make our (the client's) life easier by making CXTPMenuBar::SwitchMDIMenu virtual. This will also allow further dynamic customization at loading time of the menu specified by MFC.

So, could you please make
    void CXTPMenuBar::SwitchMDIMenu(HMENU hMenu)
virtual?

Kind Regards,
Dmitry
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: 15 April 2008 at 1:20am
Hello,
 
Changed. Thanks.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Dmitry View Drop Down
Groupie
Groupie


Joined: 28 November 2004
Location: Australia
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dmitry Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2008 at 12:50am
Thank you for the quick response.

Which version will this be available in?

Dmitry
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: 21 April 2008 at 1:30am
Hello,
In next 12.0 release.
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.