Re: SIP erases child window controls! by buzz
buzz
Fri May 07 16:28:36 CDT 2004
Doh! I figured out the problem. The my child window base class was showing
the SIP before the child window is drawn (SetWindowPos), so the drawing area
was the client rect of the parent dialog minus the 80 pixels for the SIP.
So actually, the controls under the SIP were not be erased; they were never
drawn!
"buzz" <buzz@buzz.com> wrote in message
news:eUgrgNHNEHA.2336@TK2MSFTNGP09.phx.gbl...
> I have a parent dialog with several child windows (dialogs). When the SIP
> is shown and then hidden, the controls on the child window (edit boxes,
> labels, etc) that were hidden by the SIP are erased! I cannot seem to
force
> the child window to redraw itself. Any suggestions?
>
> Thanks,
>
> buzz
>
>