Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Ribbon: Loading backstage views on demand
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon: Loading backstage views on demand

 Post Reply Post Reply
Author
Message
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon: Loading backstage views on demand
    Posted: 20 March 2013 at 6:28am
Hello!
I don't want the backstage views (or tabs) to be created (and opened) when initializing my ribbon.
This should be done when clicking the corresponding link.
How can I achieve this?
Please help!

This is how one view ist created at the beginning of my application:

    if(m_pViewBackstagePageInfo == NULL)
        m_pViewBackstagePageInfo = new CUIBackstagePageInfo();
    ASSERT(m_pViewBackstagePageInfo);
    if(!m_pViewBackstagePageInfo->GetSafeHwnd())
        m_pViewBackstagePageInfo->Create(CUIBackstagePageInfo::IDD, this);
    pTab = pView->AddTab(m_pViewBackstagePageInfo, RB_TAB_BACKSTAGE_INFO);
    pTab->SetFlags(xtpFlagManualUpdate);

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.156 seconds.