RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWinControl.PaintHandler Method

Responds to WM_PAINT messages.

Pascal
procedure PaintHandler(var Message: TWMPaint);
C++
__fastcall PaintHandler(TWMPaint Message);

PaintHandler is called automatically when the control receives a WM_PAINT message. It calls the BeginPaint and EndPaint API functions, and between them paints the control's background by calling PaintWindow and any child controls by calling PaintControls

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!