Tree View Controls Macros
A version of this page is also available for
4/8/2010
The following table shows the tree view controls macros, with a description of the purpose of each.
Programming element | Description |
---|---|
This macro creates a dragging bitmap for the specified item in a tree-view control, creates an image list for the bitmap, and adds the bitmap to the image list. |
|
This macro removes an item from a tree-view control. |
|
This macro removes an item from a tree-view control. |
|
This macro begins in-place editing of the text of the specified item, replacing the text of the item with a single-line edit control containing the text. |
|
This macro ends the editing of a label for a tree-view item. |
|
This macro ensures that a tree-view item is visible, expanding the parent item or scrolling the tree-view control, if necessary. |
|
This macro expands or collapses the list of child items, if any, associated with the specified parent item. |
|
This macro retrieves the first child item of the specified tree-view item. |
|
This macro retrieves a count of the items in a tree-view control. |
|
This macro retrieves the tree-view item that is the target of a drag-and-drop operation. |
|
This macro retrieves the handle to the edit control being used to edit the text for a tree-view item. |
|
This macro retrieves the first visible item in a tree-view control window. |
|
This macro retrieves the handle to the normal or state image list associated with a tree-view control. |
|
This macro retrieves the amount, in pixels, that child items are indented relative to their parent items. |
|
This macro retrieves the incremental search string for a tree-view control. |
|
This macro retrieves some or all of the attributes of a tree-view item. |
|
This macro retrieves the bounding rectangle for a tree-view item and indicates whether the item is visible. |
|
This macro retrieves the tree-view item that bears the specified relationship to a specified item. |
|
This macro retrieves the next sibling item of a specified item in a tree-view control. |
|
This macro retrieves the next visible item that follows a specified item in a tree-view control. |
|
This macro retrieves the parent item of the specified tree-view item. |
|
This macro retrieves the previous sibling item of a specified item in a tree-view control. |
|
This macro retrieves the first visible item that precedes a specified item in a tree-view control. |
|
This macro retrieves the topmost or very first item of the tree-view control. |
|
This macro retrieves the currently selected item in a tree-view control. |
|
This macro obtains the number of items that can be fully visible in the client window of a tree-view control. |
|
This macro determines the location of the specified point relative to the client area of a tree-view control. |
|
This macro inserts a new item in a tree-view control. |
|
This macro selects the specified tree-view item, scrolls the item into the view, or redraws the item in the style used to indicate the target of a drag-and-drop operation. |
|
This macro redraws a specified tree-view control item in the style used to indicate the target of a drag-and-drop operation. |
|
This macro selects the specified tree-view item. |
|
This macro scrolls the tree-view control vertically to ensure that the specified item is visible. |
|
This macro sets the normal or state image list for a tree-view control and redraws the control using the new images. |
|
This macro sets the width of indentation for a tree-view control and redraws the control to reflect the new width. |
|
This macro sets some or all of the attributes of a tree-view item. |
|
This macro sorts the child items of the specified parent item in a tree-view control. |
|
This macro sorts tree-view items using an application-defined callback function that compares the items. |