Hi Michael,
I agree with the answer from Andrew.
In addition, Refresh() calls Invalidate(1) to force the control to invalidate its client area and then call Update() to redraw itself and child controls immediately.
Update() updates the client area by sending a WM_PAINT message, if the update region is not empty. This method sends a WM_PAINT message directly,
bypassing the application queue. If the update region is empty, WM_PAINT is not sent.
Best regards,
Rhett Gong [MSFT]
Microsoft Online Partner Support
This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks.