Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Classes

~CExtTreeGridWnd Destructor.
CExtTreeGridWnd Default constructor.
GetTreeData Returns the data provider associated with the tree grid.
ItemCellJoinAdjustCoordinates Checks the joined state of grid cell at the specified location in the tree grid control and, returns false if the grid cell is not in the joined area. Otherwise, modifies the hTreeItem and nColNo variables and returns true. The modified variable are pointing to the top/left corner cell in the joined cell area.
ItemCellJoinGet Returns a CSize object that describes how the cell is merged with its neighboring cells.
ItemCellJoinSet Sets how a cell is merged with it neighboring cells and returns true if succeeded or false otherwise.
ItemCellJoinTest Checks if a cell can be merged with it neighboring cells and returns true if it can or false otherwise.
ItemEnsureExpanded Ensures that the specified item is expanded and returns true if successful or false if the specified handle is not valid.
ItemExpand Expands or collapses the list of child items, if any, associated with the specified parent item.
ItemExpandAll Expands or collapses the list of all the descendant items, if any, associated with the specified parent item.
ItemFocusGet Returns a handle of the focused item .
ItemFocusSet Sets the focus to the cell in the row specified by hTreeItem and returns true if successful or false the specified handle is not valid.
ItemGetByVisibleRowIndex Returns a handle of the tree item by the specified visible row index. See ItemGetVisibleIndexOf for details.
ItemGetCell Returns a pointer to the cell object at the row specified by hTreeItem and column specified by nColNo.
ItemGetChildAt Returns a handle of the child item at the specified position.
ItemGetChildCount Returns the number of child items with the specified parent.
ItemGetExpandBoxShape Returns the current state of the specified item. The retuned value can be one of three values enumerated in CExtTreeGridCellNode::e_expand_box_shape_t.
ItemGetFirstChild Returns a handle of the first item in the list of child items with the specified parent.
ItemGetFirstSibling Returns a handle of the first sibling item.
ItemGetLastChild Returns a handle of the last item in the list of child items with the specified parent.
ItemGetLastSibling Returns a handle of the last sibling item.
ItemGetNext Returns a handle of the tree item that is next to the specified tree item or NULL if the next item is not found.
ItemGetParent Returns a handle of the parent that is parent to the specified item.
ItemGetPrev Returns a handle of the tree item that is previous to the specified tree item or NULL if the previous item is not found.
ItemGetRoot Returns a handle of the root tree item.
ItemGetSiblingIndexOf Returns a sibling index of the specified item.
ItemGetVisibleIndexOf Returns a visible index of the specified tree item if it is visible or -1 if the tree item is collapsed.
ItemHide Hides or displays tree item.
ItemHideSubTree Hides or displays tree item and all the children items in subtree.
ItemInsert Inserts one or more tree items into the tree grid as children of the specified parent item and returns a handle of the first inserted item if successful, or NULL otherwise.
ItemIsDisplayed Returns true if the specified item is displayed or false if hidden. If the tree item is not displayed, then it�s hidden or some of its parent tree items is hidden.
ItemIsExpanded Returns true if the specified item is expanded or false if collapsed.
ItemIsHidden Returns true if the specified item is visible or false if hidden.
ItemJumpNext Returns a handle of the tree item that is next to nJump items to the specified tree item or NULL if the next item is not found.
ItemJumpPrev Returns a handle of the tree item that is previous to nJump items to the specified tree item or NULL if the previous item is not found.
ItemRemove Removes the specified tree item or only all its child items. In the latter case, the method returns the number of removed items.
ItemSetCell Initialized or destroys cell objects at a location specified by hTreeItem and column specified by nColNo. Returns true if succeeded.
ItemSortChildren Sorts children of specified tree item using. It returns true if succeeded. This method sorts only one level of tree items.
ItemSortChildrenDeep Sorts children of specified tree item using. It returns true if succeeded. This method sorts all the deep nested levels under specified tree item.
TreeGridSortOrderSetup Modifies the sort order. The method allows you to set a new sort order, add indices to the current sort order, or change ascending/descending order for some indices in the existing sort order. It returns true if succeeded or false otherwise.

Overridables

OnTreeGridPaintExpandButton Called to paint the item's icon when it has one or more child items. The default implementation paints a rectangle with a plus sign if the item is expanded and a rectangle with a minus sign if it is collapsed.
OnTreeGridQueryColumnOutline Called to set the column in which the hierarchical tree is drawn.
OnTreeGridQueryDrawOutline Called to draw the lines that connect tree item nodes. The method returns true if the lines are drawn or false otherwise.
OnTreeGridToggleItemExpandedState Called when a tree grid item is expanded or collapsed.

See Also

CExtTreeGridWnd Overview | Hierarchy Chart