Click to See Complete Forum and Search --> : White Spots on standard controls if ClearType is activated


Depperla
October 5th, 2005, 08:46 AM
Hello,

I've a problem with standard controls in my applications if ClearType is activated. They're getting white spots ( I'm using a white background ) when moving an other window over mine. The spots won't disappear until I either have minimized and mazimized the window or the window was hidden by an bigger Window. ( => complete redraw ) .
To prevent flickering while resizing the window I am using the WS_CLIPCHILDREN window style. Does anyone know this problem, too? Anyone can give me an advice how to get rid of this?

Here is a screenshot of the problem:

http://evilissimo-softdev.de/white_spot.png

Depperla
October 8th, 2005, 05:42 AM
*push*

Marc G
October 8th, 2005, 09:05 AM
I wouldn't know what could cause this issue.
Are you sure there isn't an object at that place that comes in front of the listview from time to time?
Is it only with a white background?
Is it only with the listview control?
Can you post an example project that demonstrates the problem?

Depperla
October 12th, 2005, 05:33 AM
I've figured it out. I had to use WS_CLIPSILBLINGS too.