Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS Tech Support » __ECTN_TBB_TEXT_FIELD CExtRibbonNode resizing Collapse All
Subject Author Date
Rubet Louis Oct 15, 2008 - 4:00 AM

hi


How can I programmatically resize a CExtRibbonNode object, which style is __ECTN_TBB_TEXT_FIELD ?


 ( I use it in a tool group for which normal and large ILV are removed)


 


How can I programmatically change its font ?

Technical Support Oct 15, 2008 - 12:33 PM

You should invoke the CExtCustomizeCmdTreeNode::TextFieldWidthSet() method of a command tree node which is instantiated with the __ECTN_TBB_TEXT_FIELD style. Finally, after changing the widths of one or more text fields, you should invoke the ribbon bar’s CExtRibbonPage::Ribbon_UpdateLayout() method.