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.
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