Guys --
I have SDK sizeable window (WS_CLIPCHILDREN) with toolbar, statusbar etc.
In WM_SIZE I resize all children.
Finally all redrawn correctly, but a process is not nice.
For example, when I increase width (right side) is visible "empty place" in toolbar and status bar area.
A reason is clear - processing ERASEBKGND requires about 0.02-0.1 sec on my PC.
I tried to redraw toolbar/statusbar at first (using Invalidate/UpdateWindow; RedrawWindow).
But nothing changed. Should be another way - for example, PB/IDE, Netscape, Outlook Express have no similar defect.
Any ideas ?
(BTW, skeleton has a defect - add clipchildren and you will understand, about what I am talking; better to run in Win2000, because 9x is faster)
------------------
E-MAIL: [email protected]
I have SDK sizeable window (WS_CLIPCHILDREN) with toolbar, statusbar etc.
In WM_SIZE I resize all children.
Finally all redrawn correctly, but a process is not nice.
For example, when I increase width (right side) is visible "empty place" in toolbar and status bar area.
A reason is clear - processing ERASEBKGND requires about 0.02-0.1 sec on my PC.
I tried to redraw toolbar/statusbar at first (using Invalidate/UpdateWindow; RedrawWindow).
But nothing changed. Should be another way - for example, PB/IDE, Netscape, Outlook Express have no similar defect.
Any ideas ?
(BTW, skeleton has a defect - add clipchildren and you will understand, about what I am talking; better to run in Win2000, because 9x is faster)
------------------
E-MAIL: [email protected]
Comment