Vcl.ComCtrls.TTVAdvancedCustomDrawEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

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

Properties

Type Visibility Source Unit Parent
typedef public 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