![]() |
OnUpdate Handler |
Post Reply
|
| Author | |
terrym
Senior Member
Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
Quote Reply
Topic: OnUpdate HandlerPosted: 16 September 2007 at 11:28am |
|
Does anybody know how to do SetVisible for a group, as we want this to be show/hide in our update handler ???
Any ideas cheers, as seem to be getting crashes :(
|
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
![]() |
|
terrym
Senior Member
Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 September 2007 at 11:50am |
|
As right now I do this, but surely it is possible to get the pGroup pointer from the pCmdUI passed to the OnUpdate handler CXTPRibbonBar *pRibbonBar = m_RibbonFormat.m_pRibbonBar; CXTPRibbonGroup *pGroup = pRibbonBar->FindGroup( ID_FORMAT_ORIENTATION_GROUP ); pGroup->SetVisible( m_RibbonFormat.GetOrientation() != -1 ? TRUE : FALSE ); |
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
![]() |
|
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 |