Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - How to hide the CXTPRibbonBackstageView?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to hide the CXTPRibbonBackstageView?

 Post Reply Post Reply
Author
Message
roninda View Drop Down
Groupie
Groupie


Joined: 23 March 2011
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote roninda Quote  Post ReplyReply Direct Link To This Post Topic: How to hide the CXTPRibbonBackstageView?
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 2011 at 1:31am
From sample:


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

pView->OnCancel();
}

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
roninda View Drop Down
Groupie
Groupie


Joined: 23 March 2011
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote roninda Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 2011 at 11:15am
....
i think the pView->OnOK() is same.
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.172 seconds.