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 » RibbonBar: How to force a BOLD caption within a ribbon node group Collapse All
Subject Author Date
Oliver Rau Jan 18, 2010 - 9:35 AM

Dear ProfUIS-Team,

how can I force the caption of a CExtRibbonNodeGroup control to become ’bold’ instead of the style-specific ’normal’ font weight?

Kind regards,


Oliver Rau Jan 20, 2010 - 2:34 AM

Thanks a lot for your help - and again: great support!

Best regards,


Technical Support Jan 19, 2010 - 1:13 PM

We are sorry but in fact we explained you how to make the text of tab item bold. But it’s also possible to make the text of ribbon button group caption bold. You should use the same approach. But you should create the CExtRibbonNodeGroup-derived and CExtRibbonButtonGroup-derived classes.

Oliver Rau Jan 19, 2010 - 2:19 AM

Thank you for your quick reply!

Though, I can’t see the relationship between a CExtRibbonNodeGroup (the one I meant in my question) and a CExtRibbonNodeTabPage. Or is my mistrust foundless?




Technical Support Jan 18, 2010 - 1:36 PM

Step 1 is to create and use your CExtRibbonNodeTabPage-derived class. Override the CExtRibbonNodeTabPage::_OnRibbonGetButtonRTC() virtual method and return runtime class information of your tab button class (CExtRibbonButtonTabPage-derived).
Step 2 is to create your CExtRibbonButtonTabPage-derived class. This class implements the tab button. You should override the CExtRibbonButtonTabPage::PaintCompound() virtual method, copy the source code from original method and make it using your preferred bold font.