![]() |
Using multiple MRU lists |
Post Reply ![]() |
Author | |
Bart D ![]() Newbie ![]() Joined: 27 August 2005 Location: Netherlands Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 06 September 2005 at 7:28am |
In this forum, there are a few questions related to the use of multiple MRU lists. I'm using an implementation that is copied from http://www.microsoft.com/msj/0899/c/c0899.aspx It is written by Paul DiLascia and (as expected) is of excellent quality. The problem seems to be with the following piece of code: ////////////////// { // If the menu is really a submenu, MFC can't handle it, so fake out // MFC by temporarily setting m_pMenu = m_pSubMenu. // CMenu* pMenu = pCmdUI->m_pMenu; if (pCmdUI->m_pSubMenu) pCmdUI->m_pMenu = pCmdUI->m_pSubMenu; CRecentFileList::UpdateMenu(pCmdUI); if (pCmdUI->m_pSubMenu) pCmdUI->m_pMenu = pMenu; } This code does not update the menus anymore. How do I get around this ? Thanks Bart
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
See modified sample try to comment /uncommet "#include "XTToolkitPro.h" in stdafx.h and check difference. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Bart D ![]() Newbie ![]() Joined: 27 August 2005 Location: Netherlands Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Thanks Oleg ! That sure helped Bart |
|
![]() |
|
subok ![]() Newbie ![]() ![]() Joined: 16 November 2005 Location: South Africa Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg,
I am unable to access the following link:
Can you assist? Thanks, Subok |
|
![]() |
|
_Xks ![]() Newbie ![]() Joined: 23 January 2006 Location: Romania Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
We are migrating our MFC based application to XToolKit Pro and we are having the same problem with submenus, but it seems that the sample you uploaded isn't there anymore. Can you please re-upload it?
Thanks. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
dawiebe ![]() Newbie ![]() ![]() Joined: 03 June 2009 Location: Canada Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg,
It appears that the sample isn't there again. Would you kindly re-upload it? Your help is greatly appreciated. |
|
![]() |
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 |