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 » How to make CExtSliderWnd no focus-rect ? Collapse All
Subject Author Date
Vincent Lin Feb 2, 2007 - 3:03 AM

Hello,
How to make CExtSliderWnd object no focus-rect ?
just like CExtButton::SetDrawFocusRect( false);
thanks.

Technical Support Feb 2, 2007 - 11:33 AM

The CExtSliderWnd control is a custom-drawn version of the standard CSliderCtrl control. So we cannot control how the focus rectangle is painted and you should use a completely re-painted slider control like that represented by the CInplaceSliderWnd class in the AdoRecordsetView sample.