CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2005
    Posts
    3

    White Spots on standard controls if ClearType is activated

    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

  2. #2
    Join Date
    Oct 2005
    Posts
    3

    Re: White Spots on standard controls if ClearType is activated

    *push*

  3. #3
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150

    Re: White Spots on standard controls if ClearType is activated

    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?
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

  4. #4
    Join Date
    Oct 2005
    Posts
    3

    Re: White Spots on standard controls if ClearType is activated

    I've figured it out. I had to use WS_CLIPSILBLINGS too.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured