B
Bill Merrill
I'm having a problem with a custom-painted panel. Upon resize, it's
invalidated, and redrawn properly. It's also double-buffered so there's no
flicker.
When I resize the control during runtime, it paints fine. However, when the
control is docked, and it's parent is expanded, the child isn't properly
redrawn. It's being invalidated and OnPaint is properly called, but
sometimes the repaint doesn't actually take effect. If you gradually expand
the parent container, the custom control's border fills in the space. If
the window is then dragged out of view and back in, it repains fine.
Any thoughts or help?
Thanks in advance!
invalidated, and redrawn properly. It's also double-buffered so there's no
flicker.
When I resize the control during runtime, it paints fine. However, when the
control is docked, and it's parent is expanded, the child isn't properly
redrawn. It's being invalidated and OnPaint is properly called, but
sometimes the repaint doesn't actually take effect. If you gradually expand
the parent container, the custom control's border fills in the space. If
the window is then dragged out of view and back in, it repains fine.
Any thoughts or help?
Thanks in advance!