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

    Resizing Dialog Box Flicker still exists

    Question. Does anyone know why when you Rezize a Dialog Box. When I mean Resize I mean by draging either the X or Y you still get flicker! Again, I have a ball that I created in a Dialog Box and I can drag it to any position w/o flicker. I Overrided the OnEraseBkGnd() function and it still flickers!!

  2. #2
    Join Date
    May 2000
    Location
    Toronto, ON, Canada
    Posts
    3,573
    Hi,

    Try using memory DCs.
    Regards,

    Emanuel Vaduva

  3. #3
    Join Date
    Mar 2003
    Posts
    402
    I am using a memory DC...I can drag the ball around the Window
    Client area w/o flicker!

  4. #4
    Join Date
    Jun 2002
    Location
    Colorado, U.S.A.
    Posts
    980
    Does a dialog have the WS_CLIPCHILDREN and WS_CLIPSIBLINGS styles? If so, try those. (If you were using a regular window I could tell you exactly how to avoid flicker, but I've never done it with a dialog before).

    Kelly
    Last edited by Runt888; March 25th, 2003 at 03:43 PM.

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