TControl.IsProcessingPaintMsg function
True while painting the control.
Declaration
function IsProcessingPaintMsg: BooleanDescription
As the name implies, the cfProcessingWMPaint flag in FControlFlags is set while a LM_PAINT message is processed, and IsProcessingPaintMsg checks this flag.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
