TPaintBox32.Flush

procedure Flush; overload;

procedure Flush(const SrcRect: TRect); overload;

Description

Immediately copies the contents of the buffer, or its part passed in SrcRect to the screen. Use this function when you want to bypass normal Windows invalidating/repainting procedure, for example when the buffer is painted by the other thread.

Both functions are thread-safe.

See Also

Rectangle Types