By: Yaron Goali (WISERBIT DOT COM) for Microncode.com
User Control: cTreeView
Attribute | Value |
Description | Gets/sets the background colour of the treeview. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | OLE_COLOR |
Attribute | Value |
Description | Gets/sets the border style used for the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | ETreeViewBorderStyle |
Attribute | Value |
Description | Gets/sets whether the control shows CheckBoxes next to items. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | Boolean |
Attribute | Value |
Description | Gets/sets whether items will automatically expand during drag operations when the mouse hovers over them. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | Boolean |
Attribute | Value |
Description | During drag-drop operations, gets whether the current drag-drop location is above the DragInsertMode or not. |
Attribute | Value |
Description | During a drag-drop operation, returns the node associated with the current drag-drop location. |
Attribute | Value |
Description | Gets/sets the drag style for the control. In insert mode, the order of children can be modified, whereas in drop-highlight mode only an item's parent can be changed. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | eStyle | ETreeViewDragInsertStyle |
Attribute | Value |
Description | Gets/sets whether the control is Enabled or not. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | eSortMode | ETreeViewChildrenSortMode |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | bState | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | bState | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | hItem | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | OLE_COLOR |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | fnt | IFont |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | fnt | IFont |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | OLE_COLOR |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | Long |
Optional | ByVal/ByRef | Variable | Datatype |
Key | String |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | String |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | OLE_COLOR |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | OLE_COLOR |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | OLE_COLOR |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | OLE_COLOR |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | OLE_COLOR |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | OLE_COLOR |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | OLE_COLOR |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | OLE_COLOR |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | sTag | String |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | value | String |
Attribute | Value |
Description | Gets/sets the font used to draw the items. |
Optional | ByVal/ByRef | Variable | Datatype |
value | IFont |
Optional | ByVal/ByRef | Variable | Datatype |
value | IFont |
Attribute | Value |
Description | Gets the default foreground colour of the items. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | OLE_COLOR |
Attribute | Value |
Description | Gets/sets whether the selection box for an item extends the full width of the control or not. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | Boolean |
Attribute | Value |
Description | Gets/sets whether the selected node is hidden when the control is out of focus. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | Boolean |
Attribute | Value |
Description | Gets/sets whether the control draws using an IE-History style or not. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | Boolean |
Attribute | Value |
Description | Gets/sets whether the TreeView hot tracks the mouse and highlights items as the mouse moves over them. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | Boolean |
Attribute | Value |
Description | Gets the hWnd of this control. |
Attribute | Value |
Description | Gets the hWnd of the TreeView contained within this control. |
Optional | ByVal/ByRef | Variable | Datatype |
value | Variant |
Attribute | Value |
Description | Associates an ImageList handle with the TreeView used to draw the node images. |
Attribute | Value |
Description | Gets/sets the indentation. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | Long |
Attribute | Value |
Description | Gets the height of individual items in the TreeView. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | Long |
Attribute | Value |
Description | Gets/sets whether items in the TreeView can be edited or not. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | Boolean |
Attribute | Value |
Description | Gets/sets the colour of the lines in the TreeView. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | OLE_COLOR |
Attribute | Value |
Description | Gets/sets the line style used in the TreeView. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | ETreeViewLineStyleConstants |
Attribute | Value |
Description | Gets/sets the default background colour used to draw items when the mouse is over them. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | OLE_COLOR |
Attribute | Value |
Description | Gets/sets the default foreground colour used to draw items when the mouse is over them. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | OLE_COLOR |
Attribute | Value |
Description | Gets/sets whether the control should not use custom draw. Custom draw allows configuration of item colours and fonts but reduces display performance. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | Boolean |
Attribute | Value |
Description | Gets the number of nodes in the Tree. |
Optional | ByVal/ByRef | Variable | Datatype |
Data | DataObject |
Attribute | Value |
Description | Gets the Node stored in the Data parameter of an Ole Drag/Drop event, if any. |
Attribute | Value |
Description | Gets the root collection of nodes in the TreeView. |
Attribute | Value |
Description | Gets/sets the drag mode for the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | eMode | OLEDragConstants |
Attribute | Value |
Description | Gets/sets the OLE Drop Mode of the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | eMode | OLEDropConstants |
Attribute | Value |
Description | Gets the path separator used by the FullPath property of a Node. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | String |
Attribute | Value |
Description | Gets the Scaled height of the control. |
Attribute | Value |
Description | Gets the scale mode of the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | eMode | ScaleModeConstants |
Attribute | Value |
Description | Gets the scaled width of the control. |
Attribute | Value |
Description | Raised when the control is scrolled. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | Boolean |
Attribute | Value |
Description | Gets the default background colour for selected items. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | OLE_COLOR |
Attribute | Value |
Description | Gets the default foreground colour for selected items. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | OLE_COLOR |
Attribute | Value |
Description | Gets the selected node, if any, otherwise returns Nothing. |
Attribute | Value |
Description | Gets the default background colour for selected items when the mouse is over them. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | OLE_COLOR |
Attribute | Value |
Description | Gets the default foreground colour for selected items when the mouse is over them. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | OLE_COLOR |
Attribute | Value |
Description | Gets the default background colour for selected items when the control is out of focus. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | OLE_COLOR |
Attribute | Value |
Description | Gets the default foreground colour for selected items when the control is out of focus. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | OLE_COLOR |
Attribute | Value |
Description | Gets/sets whether the number in a nodes ItemNumber property should be displayed next to the item. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | Boolean |
Attribute | Value |
Description | Gets/sets whether the only expanded nodes should be the ones containing the selection. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | Boolean |
Attribute | Value |
Description | Not used. See ChildSortMode and Sort in cTreeViewNode. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
value | Variant |
Attribute | Value |
Description | Associates an image list with the control used to draw State Images. |
Attribute | Value |
Description | Gets/sets the style of the TreeView. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | ETreeViewStyleConstants |
Attribute | Value |
Description | Gets/sets a string tag associated with the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | String |
Attribute | Value |
Description | Gets/sets the background colour of tooltips displayed by the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | OLE_COLOR |
Attribute | Value |
Description | Gets/sets the foreground colour of tooltips displayed by the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | value | OLE_COLOR |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | saveChanges | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByRef | lLeft | Long | |
ByRef | lTop | Long | |
ByRef | lRight | Long | |
ByRef | lBottom | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | State | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
ByVal | eSortMode | ETreeViewChildrenSortMode |
Attribute | Value |
Description | Refreshes the control. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIDRelative | Long | |
ByVal | relation | ETreeViewRelationshipContants | |
ByVal | sKey | String | |
ByVal | sText | String | |
Optional | Image | Long(-1) | |
Optional | SelectedImage | Long(-1) | |
Optional | integralHeight | Long(1) | |
Optional | Bold | Boolean(False) | |
Optional | ChildSortMode | ETreeViewChildrenSortMode(etvwNoSort) |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | hItem | Long |
Optional | ByVal/ByRef | Variable | Datatype |
Index | Variant |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lIDParent | Long | |
ByVal | iIndex | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long | |
nodeRelative | cTreeViewNode | ||
ByVal | relation | ETreeViewRelationshipContants |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lParentID | Long | |
ByVal | lID | Long |
Optional | ByVal/ByRef | Variable | Datatype |
xPixels | Long | ||
yPixels | Long | ||
x | Single | ||
Y | Single |
Optional | ByVal/ByRef | Variable | Datatype |
x | Single | ||
Y | Single | ||
xPixels | Long | ||
yPixels | Long |
Attribute | Value |
Description | Gets the number of visible nodes in the TreeView. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | x | Single | |
ByVal | Y | Single |
Attribute | Value |
Description | Gets the Node at the specified position. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | x | Single | |
ByVal | Y | Single |
Attribute | Value |
Description | Gets the node at the specified position and returns information about which area of the node is under the position. |
Optional | ByVal/ByRef | Variable | Datatype |
ByVal | lParam1 | Long | |
ByVal | lParam2 | Long | |
ByVal | lParamParent | Long |
Optional | ByVal/ByRef | Variable | Datatype |
lpMsg | VBOleGuids.Msg |
Optional | ByVal/ByRef | Variable | Datatype |
ByRef | node | cTreeViewNode | |
ByRef | NewString | String | |
ByRef | Cancel | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
node | cTreeViewNode | ||
ByRef | Cancel | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
node | cTreeViewNode | ||
ByRef | Cancel | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
ByRef | node | cTreeViewNode | |
ByRef | Cancel | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
node | cTreeViewNode |
Optional | ByVal/ByRef | Variable | Datatype |
node1 | cTreeViewNode | ||
node2 | cTreeViewNode | ||
nodeParent | cTreeViewNode | ||
ByRef | iCompareResult | ETreeViewSortResult |
Optional | ByVal/ByRef | Variable | Datatype |
Data | DataObject | ||
nodeOver | cTreeViewNode | ||
ByVal | bAbove | Boolean | |
ByVal | hitTest | Long |
Optional | ByVal/ByRef | Variable | Datatype |
node | cTreeViewNode |
Optional | ByVal/ByRef | Variable | Datatype |
KeyCode | Integer | ||
Shift | Integer |
Optional | ByVal/ByRef | Variable | Datatype |
KeyAscii | Integer |
Optional | ByVal/ByRef | Variable | Datatype |
KeyCode | Integer | ||
Shift | Integer |
Optional | ByVal/ByRef | Variable | Datatype |
Button | Integer | ||
Shift | Integer | ||
x | Single | ||
Y | Single |
Optional | ByVal/ByRef | Variable | Datatype |
Button | Integer | ||
Shift | Integer | ||
x | Single | ||
Y | Single |
Optional | ByVal/ByRef | Variable | Datatype |
Button | Integer | ||
Shift | Integer | ||
x | Single | ||
Y | Single |
Optional | ByVal/ByRef | Variable | Datatype |
node | cTreeViewNode |
Optional | ByVal/ByRef | Variable | Datatype |
node | cTreeViewNode |
Optional | ByVal/ByRef | Variable | Datatype |
node | cTreeViewNode |
Optional | ByVal/ByRef | Variable | Datatype |
node | cTreeViewNode |
Optional | ByVal/ByRef | Variable | Datatype |
Effect | Long |
Optional | ByVal/ByRef | Variable | Datatype |
Data | DataObject | ||
Effect | Long | ||
Button | Integer | ||
Shift | Integer | ||
x | Single | ||
Y | Single |
Optional | ByVal/ByRef | Variable | Datatype |
Data | DataObject | ||
Effect | Long | ||
Button | Integer | ||
Shift | Integer | ||
x | Single | ||
Y | Single | ||
State | Integer |
Optional | ByVal/ByRef | Variable | Datatype |
Effect | Long | ||
DefaultCursors | Boolean |
Optional | ByVal/ByRef | Variable | Datatype |
Data | DataObject | ||
AllowedEffects | Long |