Professional UI Solutions
Site Map   /  Register


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.

Forums » Prof-UIS General Discussion » Undo/Redo buttons in Quick Access Toolbar. Collapse All
Subject Author Date
Alexander Pavluk May 4, 2007 - 4:13 AM

When I set the __ECTN_TBB_UNDO_REDO flag for Undo/Redo button in Quick Access Toolbar then the icon for this button disappears. How can I resolve this problem?

Technical Support May 4, 2007 - 12:09 PM

Thank you for reporting this issue. You can fix this by adding the following virtual method to the CExtRibbonNode class:

CExtCmdIcon * CExtRibbonNode::GetIconPtrInToolbar(
      CExtCmdItem * pCmdItem,
      bool bForceBasic // = false
      ASSERT_VALID( this );
      if( ! m_iconSmall.IsEmpty() )
            return (&m_iconSmall);