Links
EControl Syntax Editor SDK
TSyntaxTreeView.OnCustomDraw Property

Occurs immediately prior to painting the tree view control.

property OnCustomDraw;

Write an OnCustomDraw event handler to paint an owner-drawn tree view. Use the Canvas property as a drawing surface when painting the image of the tree view. 

 

To paint individual items, use the OnCustomDrawItem event instead.

OnCustomDraw only occurs prior to painting the tree view control. To customize the painting at other stages of the paint process (such as after the default drawing), use OnAdvancedCustomDraw instead.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!