Class Hierarchy:
DFBaseListBox

List


AbstractTreeView



TreeViewClass Definition
Functions and Procedures
Handle
ChildItem(Handle hItem)

ClearAll()
Deletes all treeview item with faster paint logic.

Construct_Object()
Integer
CountTreeLevels(string sLine)

DoCollapseAll(Handle hItem)
if no Handle provided, use Root

DoCollapseItem(Handle hItem)

DoExpandAll(Handle hItem)
if no Handle provided, use Root

DoExpandItem(Handle hItem)

DoMakeItemFirstVisible(Handle hItem)

DoMakeItemVisible(Handle hItem)

DoReadTree(string sFile)
Handle
FirstVisibleItem()
Integer
ItemCount()
Integer
ItemExpandedState(Handle hItem)
T or F
String
ItemFullPath(Handle hItem)
Handle
NextSiblingItem(Handle hItem)
Handle
NextVisibleItem(Handle hItem)

NotifyCheckStateChange(Integer wParam Integer lParam)

OnCheckStateChange(Handle hItem)
Recieved after the passed tree item's checked state has been changed.

OnCreateTree()

OnWmPaint(DWord wParam DWord lParam)

OnWmSysColorChange(DWord wParam DWord lParam)
Augmented to force a redraw of the treeview portions that are affected by any system color changes.
used in 15.0 instead of OnWmPaint to avoid flashing.

Page_Object(integer iState)
Handle
ParentItem(Handle hItem)
Handle
PreviousSiblingItem(Handle hItem)
Handle
PreviousVisibleItem(Handle hItem)
Handle
RootItem()

Set(Integer iColor)

Set(Integer iColor)

Set(Integer iColor)
{ PropertyType=Color }
{ EnumList= "clScrollBar, clBackground, clActiveCaption, clInactiveCaption, clMenu, clWindow, clWindowFrame, clMenuText, clWindowText, clCaptionText, clActiveBorder, clInactiveBorder" }
{ EnumList+="clAppWorkSpace, clHighlight, clHighlightText, clBtnFace, clBtnShadow, clGrayText, clBtnText, clInactiveCaptionText, clBtnHighlight, cl3DDkShadow, cl3DLight, clInfoText, clInfoBk, clDefault, clNone" }
{ EnumList+="clAqua, clBlack, clBlue, clDkGray, clFuchsia, clGray, clGreen, clLime, clLtGray, clMaroon, clNavy, clOlive, clPurple, clRed, clSilver, clTeal, clWhite, clYellow" }
{ Category=Appearance }
{ InitialValue=clNone }

Set(Integer bSingleExpand)

Set(Integer bLines)
Integer
VisibleItemCount()