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 Tech Support » Custom width to the scroll bars Collapse All
Subject Author Date
Juri Tsjornoi Jul 6, 2007 - 12:32 AM

Can you tell me please, how to set custom width to the scroll bars? I use skinned scroll bars (which are used in your example SkinnedScrollBars), and I would like to make them smaller (in width).

Technical Support Jul 6, 2007 - 9:02 AM

You can change the scroll bar metrics by overriding the CExtScrollBar::_ScanSysMertics() internal virtual method. Your method should invoke the parent class method and re-initialize the m_nHorzBarHeight and m_nVertBarWidth properties of the CExtScrollBar class.