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 General Discussion » Ribbon Bar size Collapse All
Subject Author Date
Vijay Mahajan May 31, 2008 - 3:01 AM

Sir,


Is it possible to reduce the Height of Ribbon page? If yes,How? Because in MDI application it is created by only calling create function.No coordinates are specified there.


Also can we put the slider control in the ribbon page by using that CExtRibbonNode only? If yes,How?Also How the positions of the controls


in the ribbon page are maintained?


 

Technical Support Jun 3, 2008 - 4:36 AM

You can override the following two virtual methods to set a custom height of button groups and a custom caption height in each group of buttons in the ribbon bar (or in a ribbon page):

      virtual INT RibbonLayout_GetGroupHeight(
            CExtRibbonButtonGroup * pGroupTBB
            ) const;
      virtual INT RibbonLayout_GroupCaptionGetHeight(
            const CExtRibbonButtonGroup * pGroupTBB
            ) const;