Vcl.Controls.TControlCanvas.CreateHandle
Delphi
procedure CreateHandle; override;
C++
virtual void __fastcall CreateHandle();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TControlCanvas |
Description
Creates the underlying Windows device context object attached to the control owning the current canvas object.
The CreateHandle method creates the Microsoft Windows device context object used by the control, if it does not already exist. The new device context handle becomes the value of the Handle property.