Vcl.ComCtrls.TTVAdvancedCustomDrawEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TTVAdvancedCustomDrawEvent = procedure(Sender: TCustomTreeView; const ARect: TRect; Stage: TCustomDrawStage;
var DefaultDraw: Boolean) of object;

C++

typedef void __fastcall (__closure *TTVAdvancedCustomDrawEvent)(TCustomTreeView* Sender, const System::Types::TRect &ARect, TCustomDrawStage Stage, bool &DefaultDraw);

Properties

Type Visibility Source Unit Parent
type
typedef
public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls Vcl.ComCtrls

Description

Used in the TCustomTreeView.OnAdvancedCustomDraw event.

This event is used in the TCustomTreeView.OnAdvancedCustomDraw event when a tree-view control is being painted.

Sender is the tree-view control that is being painted.

ARect is the rectangle that defines the boundaries of the tree-view control on its canvas.

Stage indicates the current stage of the painting process.

DefaultDraw specifies whether the control should paint itself after the event handler exits. This parameter is only used when Stage is cdPrePaint.

See Also