CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Stopping flicker when a form view is resized

    I have a problem with my Form View. I have about 12 controls on it (buttons, lists controls and grid control) and when the user resizes the view the controls flicker. Is there any way I can eliminate this flickering when the view is resized?

    I tried using a mem dc for the form view but this didn't work. I also tried using the OnEraseBackGround but the view doesn't have a handler for this message.


  2. #2
    Guest

    Re: Stopping flicker when a form view is resized

    Regarding OnEraseBackground, go to the Class Wizard and tab "Class Info". Set message filter to "Window". Then go to the tab "Message maps". Search for the WM_ERASEBKGND message... it should be there now...

    Regards
    /Rob


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