![]() |
Using multiple MRU lists |
Post Reply
|
| Author | |
Bart D
Newbie
Joined: 27 August 2005 Location: Netherlands Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Topic: Using multiple MRU listsPosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 September 2005 at 2:45am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 September 2005 at 9:38am |
|
Thanks Oleg ! That sure helped Bart |
|
![]() |
|
subok
Newbie
Joined: 16 November 2005 Location: South Africa Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 January 2006 at 3:21pm |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 January 2006 at 6:19am |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 January 2006 at 1:50pm |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
dawiebe
Newbie
Joined: 03 June 2009 Location: Canada Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 June 2009 at 11:14am |
|
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 |