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 » Refresh problem in 2.53 Collapse All
Subject Author Date
Christan HIRIGOYEN Mar 28, 2006 - 12:26 AM

I have refresh problem with slider in 2.53.
There is ghost when I drag the slider.

Thanks in advance

Technical Support Mar 28, 2006 - 5:47 AM

Please let us know more details about the problem. First of all, which slider you are talking about? The CExtSliderWnd window, the CExtBarSliderButton toolbar button object or the CExtGridCellSlider grid cell object?

Christan HIRIGOYEN Mar 29, 2006 - 5:54 AM

I experience the problem with CExtSliderWnd window.

Hope this help you.
Thanks in advance

Technical Support Mar 29, 2006 - 8:48 AM

The CExtSliderWnd class is based on the standard slider common control. We used a tricky technique based on WM_CTLCOLOR*** messages to repaint its background. Our slider generates a brush object which is based on a bitmap with a size equal to the slider’s client area. This bitmap is created as an image with a theme consistent background. This technique was used because there is no other way to repaint the background of the standard slider common control. Unfortunately the slider does not request a new background brush in all the cases when it needs it. The problem can be fixed by invoking the CExtSliderWnd::UpdateSliderWnd() method.