Click to See Complete Forum and Search --> : Stopping flicker when a form view is resized


May 7th, 1999, 05:02 PM
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.

May 9th, 1999, 01:49 PM
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