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

TCustomTreeView.CustomDrawItem

CustomDrawItem - returns True if Custom Image drawing is proceeding at the specified TreeNode

Declaration

Source position: comctrls.pp line 2533

protected function TCustomTreeView.CustomDrawItem(

  Node: TTreeNode;

  State: TCustomDrawState;

  Stage: TCustomDrawStage;

  var PaintImages: Boolean

):Boolean; virtual;

Description

CustomDrawItem - returns True if Custom Image drawing is proceeding at the specified TreeNode

State denotes one of Selected, Grayed, Disabled, Checked, Focused, Default, Hot, Marked or Indeterminate

Stage indicates whether PrePaint, PostPaint, PreErase or PostErase

If PaintImages is True, Images should be painted as well as text

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