Sign in Join
FPDoc Onlineexperiment

TIcon.HandleNeeded procedure

Member of TIconprotectedIn unit Graphics

Ensures that handle values for the icon are valid.

Declaration

pascal
procedure HandleNeeded; override

Description

Ensures that Handle values are valid for the icon. Configures the values in IconInfo with the BitmapHandle and MaskHandle for the class instance. Calls CreateIconIndirect for the widgetset to get the Handle used for the shared image in the icon.

No actions are performed in the method when the Handle for the shared icon image has already been assigned.

See also

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