CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    Singapore
    Posts
    33

    How to stop flickering when window resizes

    HI,

    I have a Form View with just the Web Browser control in it. This view is in one of the splitter windows that I have and when I resize my application, the control flickers terribly.

    Is there anyway, I can disable refreshing until the user has finished the resizing?? Or is there any way to reduce the flickering effects??

    Thanks!!

    Steve


  2. #2
    Join Date
    May 1999
    Location
    Glendale Heights, Illinois, USA
    Posts
    44

    Re: How to stop flickering when window resizes

    Your frame window is probably using a windows-class with the CS_HREDRAW and CS_VREDRAW styles. Register your own window class that doesn't have these styles, and use it for your frame window. Look up ::RegisterClass() or ::RegisterClassEx() for more information.


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