Delayed control refresh
Posted on 1998-06-01
I have a simple SDI app which has a CView with a single Active X control embedded (3-D plot) which fills the view. When the user resizes the view, I use MoveWindow() to tell the control to resize itself. The problem is that when the plot contains a large data set, and the user tries to drag one edge of the window to resize, the display goes dead until the control redraws. Hence, the user gets no visual feedback when he/she tries to resize the window. Is there a simple way to block redrawing of the control until the resize is done, or to force the view window to be redrawn first? SubclassWindow(), maybe, on the control?