Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
tera t
|
Feb 12, 2008 - 11:24 PM
|
Hello.
I set SetCmdID of the Ribbon-Node. I perform screen update of RibbonBar. It is not painted pictures in CmdID that a screen was appointed. Please teach a method
CExtRibbonNode * pNodeGrid; pNodeGrid = new CExtRibbonNode( ID_ATTR_NODEGRP_EDGE_EN_TYPE ); pNodeGrid->SetCmdID ( ID_ATTR_STYLE_EN_NONE , true );
RibbonBar->_RecalcPositionsImpl(); RibbonBar->Invalidate(); RibbonBar->_UpdateHoverButton( CPoint(-1,-1), false );
Thanks,
|
|
Technical Support
|
Feb 15, 2008 - 10:49 AM
|
Please also invoke the following code first: CExtCmdIcon * pIcon = pNode->CurrentIconGetPtr( false, NULL );
if( pIcon != NULL )
pIcon->Empty();
|
|