Assertion occurred CXTPRecentFileListBox |
Post Reply |
Author | |
hiro-ta
Groupie Joined: 11 July 2013 Status: Offline Points: 61 |
Post Options
Thanks(0)
Posted: 12 July 2013 at 12:44am |
I am talking about Office 2013 style backstage view.
Assertion occurred in "CXTPRecentFileListBox::BuildItems()" when "Recent" menu item was selected. ----------------------------------------------------------------------------- void CXTPRecentFileListBox::BuildItems() { CXTPRecentFileList* pRecentFileList = (CXTPRecentFileList*)GetRecentFileList(); ASSERT (pRecentFileList && pRecentFileList->m_strOriginal == _T("PinableRecentFileList")); : ----------------------------------------------------------------------------- "pRecentFileList->m_strOriginal" is set to "", not "PinableRecentFileList". My source is following... ----------------------------------------------------------------------------- void CMainFrame::CreateBackstage() { : m_pageRecent.Create(CXTPRibbonBackstagePageRecent::IDD, this); CXTPRibbonBackstageTab* pTabRecent = pView->AddTab(&m_pageRecent, ID_BACKSTAGE_RECENT); pTabRecent->SetFlags(xtpFlagManualUpdate); // No Need update with Update handler : ----------------------------------------------------------------------------- What should I do now? |
|
jis
Groupie Joined: 28 September 2015 Status: Offline Points: 11 |
Post Options
Thanks(0)
|
Did you manage to solve this issue? I am having the same problem.
|
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello,
Can you confirm this with last version (17.3) of ToolkitPro ? CXTPRecentFileList is inherited from MFC CRecentFileList. So I can suppose CRecentFileList can change m_strOriginal on some conditions. I need more information to reproduce. Our RibbonSample doesn't arise such assert. It will help us in debuging if you reproduce issue with RibbonSample. Regards, Oleksandr Lebed |
|
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 |