![]() |
Actions |
Post Reply ![]() |
Author | |
feffe ![]() Groupie ![]() Joined: 04 September 2009 Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() Posted: 26 November 2009 at 4:37am |
Hi, I have an articulated MDI application with ribbon.
I'd like that every time a commandbar control get disabled, it becomes also not visible.
I think Actions would be useful for me...
Is it true?
How can I efficiently use them considering my target?
|
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
pRibbon->FindControl()->SetVisible(FALSE); Maybe you can do this in update-handler too (haven't tested this).CXTPControl *pControl = CXTPControl::FromUI(pCmdUI); if (pControl)
{
pControl->SetVisible(condition);
}
|
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
However, do remember that this violates Microsoft ribbon guidelines! Controls shall never be hidden!
|
|
![]() |
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 |