Print Page | Close Window

How to hide the CXTPRibbonBackstageView?

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=18373
Printed Date: 25 November 2024 at 3:45am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to hide the CXTPRibbonBackstageView?
Posted By: roninda
Subject: How to hide the CXTPRibbonBackstageView?
Date Posted: 15 May 2011 at 11:41am
I want to hide the CXTPRibbonBackstageView after a CXTPRibbonBackstageButton pressed?
How can i do this?

use the ShowWindow(SW_HIDE) is no use at all.



Replies:
Posted By: Oleg
Date Posted: 16 May 2011 at 1:31am
From sample:


void CBackstagePageInfo::OnStaticPreview() 
{
CXTPRibbonBackstageView* pView = (CXTPRibbonBackstageView*)GetParent();

pView->OnCancel();
}



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: roninda
Date Posted: 16 May 2011 at 11:15am
....
i think the pView->OnOK() is same.



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