![]() |
Disable CXTPRibbonBackstageTab |
Post Reply
|
| Author | |
ione
Groupie
Joined: 25 November 2009 Status: Offline Points: 14 |
Post Options
Thanks(0)
Quote Reply
Topic: Disable CXTPRibbonBackstageTabPosted: 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 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 November 2011 at 4:14pm |
|
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 |