Print Page | Close Window

Ribbon: Loading backstage views on demand

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=21459
Printed Date: 24 November 2024 at 8:38pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon: Loading backstage views on demand
Posted By: Alex H.
Subject: Ribbon: Loading backstage views on demand
Date 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);




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net