[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControl.IsProcessingPaintMsg

True while painting the control.

Declaration

Source position: controls.pp line 1575

public function TControl.IsProcessingPaintMsg: Boolean;

Description

As the name says, the cfProcessingWMPaint flag in FControlFlags is set while a LM_PAINT message is processed, and IsProcessingPaintMsg checks this flag.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.