![]() |
Disable CXTPRibbonBackstageTab |
Post Reply ![]() |
Author | |
ione ![]() Groupie ![]() Joined: 25 November 2009 Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() Posted: 08 November 2011 at 10:18am |
Hi, I need to disable a tab in backstageview (CXTPRibbonBackstageTab).
I am trying this: pTab->SetEnabled (FALSE) ; but it does not work. Is there any other way to it? It would be something like this: ![]() |
|
![]() |
|
MGebler ![]() Groupie ![]() Joined: 18 May 2006 Location: Germany Status: Offline Points: 64 |
![]() ![]() ![]() ![]() ![]() |
Use the MFC update mechanism ON_UPDATE_COMMAND_UI.
For example: ON_UPDATE_COMMAND_UI(ID_BACKSTAGETAB_INFORMATION, OnUpdateBackstageTabInfo); |
|
![]() |
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 |