B
BMermuys
Hi,
While you are inside an event handler and change controls no paint can
happen, because the message loop is blocked until the event handler returns.
If controls are invalidated because of change then the WM_PAINT message will
be processed _after_ the function returns and the message loop resumes it's
dispatching.
Direct (synchronous) repainting only happens when you call Update after you
invalidate the control.
HTH,
greetings
While you are inside an event handler and change controls no paint can
happen, because the message loop is blocked until the event handler returns.
If controls are invalidated because of change then the WM_PAINT message will
be processed _after_ the function returns and the message loop resumes it's
dispatching.
Direct (synchronous) repainting only happens when you call Update after you
invalidate the control.
HTH,
greetings