Hi there,
I've built a VCL based on TPanel which define a new property 'Transparent'. When first opening the form, all is ok but if the app is minimized and then restored, the paint operation doesn't work fine (some area are not refreshed properly).
I've tried to call Invalidate, InvalidateRect, Refresh, Repaint, UpdateControl, SendMessage(WM_SETREDRAW)... nothing works. Except if I call hide and show for each child controls. But it is really slow...
Is there any to really refresh a control no matter what...
Thanks in advance,
RC
I've built a VCL based on TPanel which define a new property 'Transparent'. When first opening the form, all is ok but if the app is minimized and then restored, the paint operation doesn't work fine (some area are not refreshed properly).
I've tried to call Invalidate, InvalidateRect, Refresh, Repaint, UpdateControl, SendMessage(WM_SETREDRAW)... nothing works. Except if I call hide and show for each child controls. But it is really slow...
Is there any to really refresh a control no matter what...
Thanks in advance,
RC