![]() |
Make CXTPMenuBar::SwitchMDIMenu virtual |
Post Reply
|
| Author | |
Dmitry
Groupie
Joined: 28 November 2004 Location: Australia Status: Offline Points: 31 |
Post Options
Thanks(0)
Quote Reply
Topic: Make CXTPMenuBar::SwitchMDIMenu virtualPosted: 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 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 April 2008 at 1:20am |
|
Hello,
Changed. Thanks.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Dmitry
Groupie
Joined: 28 November 2004 Location: Australia Status: Offline Points: 31 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 April 2008 at 12:50am |
|
Thank you for the quick response.
Which version will this be available in? Dmitry |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 April 2008 at 1:30am |
|
Hello,
In next 12.0 release.
|
|
|
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 |