Sign in Join
FPDoc Onlineexperiment

TWinControl.WMPaint procedure

Member of TWinControlprotectedIn unit Controls

Manages paint requests, and handles double buffering.

Declaration

pascal
procedure WMPaint(var Msg: TLMPaint); message

Arguments

Msg

LM_PAINT window message examined and handled in the method.

Description

This topic needs more detail. BUFFERED_WMPAINT is defined for the Windows platform only. Ensures that a valid device context is selected before calling the Windows API routines like: CreateCompatibleBitmap and BitBlt. Ensures the device context is freed after use.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.