Andreas Lücke
May 6th, 1999, 11:26 AM
I have a CWnd derived window with some controls (CButtons, CScrollBar, CHeader) in it. When I resize the window with the mouse, all controlls flicker. It is, because the CWnd erases the whole background and draws all again. I have not added any code moving the controls!
How can I prevent the controls from flicker?
I'm not using a CFormView, because it scrolls the complete client area.
What I need are some static controls at the top and bottom. Horizontally their layout is adappted programmatically. Vertically it should be balanced by sizing a scrollable area that occupies the rest.
I have seen the solution 'cdxCDynamicControlsManager' from Hans Bühler. I'm not shure, if it helps me.
Thanks for your hints!
AL:)
How can I prevent the controls from flicker?
I'm not using a CFormView, because it scrolls the complete client area.
What I need are some static controls at the top and bottom. Horizontally their layout is adappted programmatically. Vertically it should be balanced by sizing a scrollable area that occupies the rest.
I have seen the solution 'cdxCDynamicControlsManager' from Hans Bühler. I'm not shure, if it helps me.
Thanks for your hints!
AL:)