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 » how to increase the width of customized control Collapse All
Subject Author Date
parikshit nangre Jun 6, 2008 - 4:17 AM


This is parikshit,

we managed to put our customized control in the Ribbonbar.

But how to increase the width of our customized control? As it shows all the pictures (eg .jpg ) files ,we need to increase the width.



Technical Support Jun 6, 2008 - 1:24 PM

The CExtRibbonBar and CExtRibbonPage controls are very extended versions of the CExtToolControlBar toolbar control. All these controls contain CExtBarButton objects including those derived from CExtBarButton. These objects implement toolbar buttons. The CExtBarButton::RibbonILV_CalcSize() virtual method returns the size of a toolbar button inserted into a ribbon control in pixels.