Typedefs | Functions
treemodel.fdf File Reference
#include "mdl.h"
#include "dlogbox.r.h"
#include <DgnPlatform\ColorUtil.h>
#include "vartypes.h"
#include "treemodel.h"

Typedefs

typedef bool(* TreeColumnSearchFuncP )(GuiTreeNodeP pParentNode, MSValueDescrCP pValueDescr, InfoField *pInfoFields, GuiTreeNodeP pNode, int columnIndex)
 
typedef int(* TreeColumnSortFuncP )(GuiTreeNodeP pParentNode, GuiTreeNodeP pNode1, GuiTreeNodeP pNode2, bool ascending, int columnIndex)
 
typedef void(* TreeNodeDestroyFuncP )(GuiTreeNodeP pNode)
 
typedef void(* TreeCellDestroyFuncP )(GuiTreeCellP pCell)
 
typedef void(* TreeNodeFormatFuncP )(GuiTreeModelCP pTreeModel, GuiTreeNodeCP pTreeNode, CallbackArgP userArg, int depth)
 
typedef void(* TreeNodeTraverseFuncP )(GuiTreeModelP pTreeModel, GuiTreeNodeP pTreeNode, CallbackArgP userArg)
 
typedef TreeCompareStatus(* TreeNodeCompareFuncP )(GuiTreeModelP pTreeModel1, GuiTreeNodeP pTreeNode1, GuiTreeModelP pTreeModel2, GuiTreeNodeP pTreeNode2, int columnIndex)
 
typedef StatusInt(* TreeNodeModsFuncP )(TreeChangeMod changeMod, GuiTreeModelP pTreeModel1, GuiTreeNodeP pNode1, GuiTreeModelP pTreeModel2, GuiTreeNodeP pNode2, TreeAddRelative addRelative, GuiTreeNodeP pRelNode, int columnIndex)
 

Functions

GuiTreeModelP mdlTreeModel_create (int numCols)
 Creates a GuiTreeModel with the specified number of columns. More...
 
StatusInt mdlTreeModel_destroy (GuiTreeModelP pModel, bool bDestroyNodes)
 Destroys a GuiTreeModel an optionally destroys the GuiTreeNodes contained within the GuiTreeModel. More...
 
GuiTreeNodeP mdlTreeModel_getRootNode (GuiTreeModelCP pModel)
 Returns the root node defined for this GuiTreeNode. More...
 
StatusInt mdlTreeModel_empty (GuiTreeModelP pModel, bool bDestroyNodes)
 Cleans up (reclaims) the memory that was occupied by the given tree model. More...
 
StatusInt mdlTreeModel_setRootNode (GuiTreeModelP pModel, GuiTreeNodeP pNode, bool bDestroyPreviousRoot, bool bReloadDisplayList)
 Resets the root node of the GuiTreeModel. More...
 
StatusInt mdlTreeModel_setDisplayRoot (GuiTreeModelP pModel, bool bDisplayRoot)
 Sets whether to display the root node in the Gui Tree item. More...
 
StatusInt mdlTreeModel_emptyDisplayList (GuiTreeModelP pModel)
 Empties the display list based on the root node and its descendents. More...
 
StatusInt mdlTreeModel_reloadDisplayList (GuiTreeModelP pModel)
 Empties and reloads the display list based on the root node and its descendents. More...
 
int mdlTreeModel_getColumnCount (GuiTreeModelCP pModel)
 Returns the number of columns defined for this GuiTreeModel. More...
 
GuiTreeColumnP mdlTreeModel_getColumnAtIndex (GuiTreeModelCP pModel, int colIndex)
 Returns a pointer to the GuiTreeColumn at the specified column index. More...
 
GuiTreeColumnP mdlTreeModel_getColumnById (GuiTreeModelCP pModel, int colId)
 Returns a pointer to the GuiTreeColumn with the specified column Id. More...
 
GuiTreeColumnP mdlTreeModel_getColumnByName (GuiTreeModelCP pModel, WCharCP pwName)
 Returns a pointer to the GuiTreeColumn with the specified name. More...
 
StatusInt mdlTreeModel_search (GuiTreeModelP pModel, MSValueDescrCP pValueDescr, InfoField *pInfoFields, int columnIndex, GuiTreeNodeP *ppFoundNode)
 Searches through the GuiTreeNodes within the GuiTreeModel for a specified value in a certain column. More...
 
StatusInt mdlTreeModel_searchUsingFunction (GuiTreeModelP pModel, MSValueDescrCP pValueDescr, InfoField *pInfoFields, int columnIndex, TreeColumnSearchFuncP pSearchFunc, MdlDesc *pSearchOwnerMD, GuiTreeNodeP *ppFoundNode)
 Searches through the GuiTreeNodes within the GuiTreeModel for a specified value in a certain column using the specified search function for all columns, including secondary columns. More...
 
UserDataP mdlTreeModel_getAppData (GuiTreeModelCP pModel)
 Returns a pointer to application data associated with the GuiTreeModel. More...
 
StatusInt mdlTreeModel_setAppData (GuiTreeModelP pModel, UserDataP pAppData)
 Sets the pointer to application data to be associated with the GuiTreeModel. More...
 
int mdlTreeModel_getId (GuiTreeModelCP pModel)
 Returns the Id of a specified GuiTreeModel. More...
 
StatusInt mdlTreeModel_setId (GuiTreeModelP pModel, int id)
 Sets the Id of a specified GuiTreeModel. More...
 
StatusInt mdlTreeModel_setNodeDestroyFunction (GuiTreeModelP pModel, TreeNodeDestroyFuncP destroyFunc, MdlDesc *ownerMD)
 Sets the function to call for each GuiTreeNode during an mdlTreeModel_destroy or mdlTreeNode_destroy call. More...
 
long mdlTreeModel_getNodeCount (GuiTreeModelCP pModel)
 Counts the total number of nodes in the specified tree. More...
 
void mdlTreeModel_dump (GuiTreeModelCP pModel, WCharCP pComment, TreeNodeFormatFuncP nodeFormatter, CallbackArgP userArg)
 Dumps the contents of the specified tree to stdout. More...
 
void mdlTreeModel_traverse (GuiTreeModelP pModel, TreeNodeTraverseFuncP traverseFunc, MdlDesc *traverseOwnerMD, CallbackArgP userArg)
 Traverses through all nodes of the TreeModel, calling the traverse function. More...
 
StatusInt mdlTreeModel_compare (GuiTreeModelP pTreeModel1, GuiTreeModelP pTreeModel2, TreeNodeCompareFuncP compareFunc, MdlDesc *compareOwnerMD, TreeNodeModsFuncP modsFunc, MdlDesc *modsOwnerMD, int columnIndex)
 Compares two TreeModels, calling an optional compare function and a modifications function. More...
 
int mdlTreeModel_getDisplayRowCount (GuiTreeModelCP pModel)
 Returns the number of rows in the display list of a GuiTreeModel. More...
 
GuiTreeNodeP mdlTreeModel_getDisplayRowAtIndex (GuiTreeModelCP pModel, int index)
 Returns a pointer to the GuiTreeNode at a specified display row index. More...
 
GuiTreeCellP mdlTreeModel_getDisplayCellAtIndexes (GuiTreeModelCP pModel, int rowIndex, int columnIndex)
 Returns a pointer to the GuiTreeCell at a specified row index and column index. More...
 
GuiTreeNodeP mdlTreeModel_getFirstDisplayRow (GuiTreeModelCP pModel)
 Returns a pointer to the first GuiTreeNode in the display list of a GuiTreeModel. More...
 
GuiTreeNodeP mdlTreeModel_getNextDisplayRow (GuiTreeModelCP pModel, GuiTreeNodeCP pNode)
 Returns a pointer to the next GuiTreeNode after a specified GuiTreeNode in the display list of a GuiTreeModel. More...
 
GuiTreeNodeP mdlTreeModel_getPrevDisplayRow (GuiTreeModelCP pModel, GuiTreeNodeCP pNode)
 Returns a pointer to the previous GuiTreeNode before a specified GuiTreeNode in the display list of a GuiTreeModel. More...
 
GuiTreeNodeP mdlTreeModel_getLastDisplayRow (GuiTreeModelCP pModel)
 Returns a pointer to the last GuiTreeNode in the display list of a GuiTreeModel. More...
 
int mdlTreeModel_getDisplayRowIndex (GuiTreeModelCP pModel, GuiTreeNodeCP pNode)
 Returns the index of the specified GuiTreeNode within the display list of a GuiTreeModel. More...
 
int mdlTreeColumn_getId (GuiTreeColumnP pColumn)
 Returns the Id of a specified GuiTreeColumn. More...
 
StatusInt mdlTreeColumn_setId (GuiTreeColumnP pColumn, int id)
 Sets the Id of a specified GuiTreeColumn columns. More...
 
WCharCP mdlTreeColumn_getName (GuiTreeColumnP pColumn)
 Get the name of the specified GuiTreeColumn. More...
 
StatusInt mdlTreeColumn_setName (GuiTreeColumnP pColumn, WCharCP pwName)
 Set the name string on the specified GuiTreeColumn. More...
 
int mdlTreeColumn_getInfoFieldCount (GuiTreeColumnP pColumn)
 Returns the number of info fields for a specified GuiTreeColumn. More...
 
StatusInt mdlTreeColumn_setInfoFieldCount (GuiTreeColumnP pColumn, int count)
 Sets the number of info fields in a specified GuiTreeColumn. More...
 
StatusInt mdlTreeColumn_setSortFunction (GuiTreeColumnP pColumn, TreeColumnSortFuncP sortFunc, MdlDesc *ownerMD, int secondaryColumn)
 Sets the function to call during a parent GuiTreeNode sort when sorting on the column index of this GuiTreeColumn. More...
 
bool mdlTreeColumn_hasSortFunction (GuiTreeColumnP pColumn)
 Determines if a column already has a sort function. More...
 
int mdlTreeColumn_getSecondarySortColumn (GuiTreeColumnP pColumn)
 Returns the secondary sort column for a specified GuiTreeColumn. More...
 
StatusInt mdlTreeColumn_setSecondarySortColumn (GuiTreeColumnP pColumn, int secondaryColumn)
 Sets the secondary sort column when sorting on the column index associated with this GuiTreeColumn. More...
 
bool mdlTreeColumn_isSortIgnoreCase (GuiTreeColumnP pColumn)
 Determines whether the specified column has its Ignore Case attribute for sorts set. More...
 
int mdlTreeColumn_setSortIgnoreCase (GuiTreeColumnP pColumn, bool bIgnoreCase)
 Sets the Ignore Case attribute for the specified column for sorts. More...
 
bool mdlTreeColumn_isSecondarySortAlwaysDirectional (GuiTreeColumnP pColumn, bool *pAscending)
 Determines whether the specified column has its Always Directional attribute for secondary column sorts is on, and the sort direction is the same as specified. More...
 
int mdlTreeColumn_setSecondarySortAlwaysDirectional (GuiTreeColumnP pColumn, bool bAlwaysDirectional, bool bAscending)
 Sets the Always Directional attribute for secondary column sorts. More...
 
StatusInt mdlTreeColumn_setSearchFunction (GuiTreeColumnP pColumn, TreeColumnSearchFuncP searchFunc, MdlDesc *ownerMD)
 Sets the function to call during a GuiTreeModel search when searching on the column index associated with this GuiTreeColumn. More...
 
int mdlTreeColumn_getSecondarySearchColumn (GuiTreeColumnP pColumn)
 Gets the secondary search column to search if an mdlTreeModel_search call finds no match. More...
 
int mdlTreeColumn_setSecondarySearchColumn (GuiTreeColumnP pColumn, int iSecondaryColumn)
 Sets the secondary search column to search if an mdlTreeModel_search call finds no match. More...
 
int mdlTreeColumn_isSearchIgnoreCase (GuiTreeColumnP pColumn)
 Determines whether the specified column has its Ignore Case attribute for searches. More...
 
int mdlTreeColumn_setSearchIgnoreCase (GuiTreeColumnP pColumn, bool bIgnoreCase)
 Sets the Ignore Case attribute for the specified column for searches. More...
 
bool mdlTreeColumn_hasSearchFunction (GuiTreeColumnP pColumn)
 Determines if a column already has a search function. More...
 
StatusInt mdlTreeColumn_setCellDestroyFunction (GuiTreeColumn *pColumn, TreeCellDestroyFuncP destroyFunc, MdlDesc *ownerMD)
 Sets the function to call for each GuiTreeCell during an mdlTreeModel_destroy or mdlTreeNode_destroy call. More...
 
GuiTreeNodeP mdlTreeNode_create (GuiTreeModelP pModel, bool bAllowsChildren)
 Creates a GuiTreeNode with the specified GuiTreeModel as an owner. More...
 
StatusInt mdlTreeNode_destroy (GuiTreeNodeP pNode)
 Destroys a GuiTreeNode and all of its GuiTreeCells. More...
 
GuiTreeModelP mdlTreeNode_getModel (GuiTreeNodeCP pNode)
 Returns a pointer to the owning GuiTreeModel. More...
 
GuiTreeNodeP mdlTreeNode_getParent (GuiTreeNodeCP pNode)
 Returns a pointer to the tree node that is the parent of the given GuiTreeNode. More...
 
bool mdlTreeNode_getAllowsChildren (GuiTreeNodeCP pNode)
 Returns whether the GuiTreeNode allows children. More...
 
StatusInt mdlTreeNode_setAllowsChildren (GuiTreeNodeP pNode, bool bAllowsChildren)
 Sets whether the GuiTreeNode allows children. More...
 
bool mdlTreeNode_isLeaf (GuiTreeNodeCP pNode)
 Returns true if this GuiTreeNode is a leaf node. More...
 
bool mdlTreeNode_isParent (GuiTreeNodeCP pNode)
 Returns true if this GuiTreeNode is a parent node. More...
 
bool mdlTreeNode_isParentPopulated (GuiTreeNodeCP pNode)
 Returns true if this GuiTreeNode is a parent node and if it is populated with any children. More...
 
bool mdlTreeNode_isRoot (GuiTreeNodeCP pNode)
 Returns true if this GuiTreeNode is the root node of the owning GuiTreeModel. More...
 
bool mdlTreeNode_isExpanded (GuiTreeNodeCP pNode)
 Returns true if this GuiTreeNode is expanded in the Gui Tree item. More...
 
bool mdlTreeNode_isDisplayable (GuiTreeNodeP pNode)
 Returns true if this GuiTreeNode is displayable in the Gui Tree item. More...
 
GuiTreeNodeP mdlTreeNode_getNextSibling (GuiTreeNodeCP pNode)
 Returns the next sibling node in the parent's child list. More...
 
GuiTreeNodeP mdlTreeNode_getPrevSibling (GuiTreeNodeCP pNode)
 Returns the previous sibling node in the parent's child list. More...
 
GuiTreeNodeP mdlTreeNode_getNextDisplayNode (GuiTreeNodeCP pNode, bool bCheckChildren)
 Returns the next displayable node in the GuiTreeModel. More...
 
GuiTreeNodeP mdlTreeNode_getPrevDisplayNode (GuiTreeNodeCP pNode)
 Returns the previous displayable node in the GuiTreeModel. More...
 
int mdlTreeNode_getStatus (GuiTreeNodeCP pNode)
 Returns the status of a specified GuiTreeNode. More...
 
StatusInt mdlTreeNode_setStatus (GuiTreeNodeP pNode, int status)
 Sets the status of a specified GuiTreeNode. More...
 
UserDataP mdlTreeNode_getAppData (GuiTreeNodeCP pNode)
 Returns a pointer to application data associated with the GuiTreeNode. More...
 
StatusInt mdlTreeNode_setAppData (GuiTreeNodeP pNode, UserDataP pAppData)
 Sets the pointer to application data to be associated with the GuiTreeNode. More...
 
int mdlTreeNode_getLevel (GuiTreeNodeCP pNode)
 Returns the level of a specified GuiTreeNode. More...
 
StatusInt mdlTreeNode_setLevel (GuiTreeNodeP pNode, bool bSetInDescendents)
 Sets the level of a specified GuiTreeNode based on its position in the GuiTreeModel. More...
 
GuiTreeNodeP mdlTreeNode_getAncestorAtLevel (GuiTreeNodeCP pNode, int level)
 Returns the ancestor GuiTreeNode at a certain level up from a specified child GuiTreeNode. More...
 
GuiTreeNodePathCP mdlTreeNode_getPathFromRoot (GuiTreeNodeP pNode)
 Builds and returns a GuiTreeNodePath from the root node to the specified GuiTreeNode. More...
 
GuiTreeNodePathCP mdlTreeNode_getPathFromAncestor (GuiTreeNodeP pNode, GuiTreeNodeCP pAncestor)
 Builds and returns a GuiTreeNodePath from the ancestor node to the specified GuiTreeNode. More...
 
StatusInt mdlTreeNode_moveUp (GuiTreeNodeP pNode)
 Moves the node up within its parent node. More...
 
StatusInt mdlTreeNode_moveDown (GuiTreeNodeP pNode)
 Moves the node down within its parent node. More...
 
StatusInt mdlTreeNode_getCurrentIcon (GuiTreeNodeCP pNode, RscId *pIconRscId, RscType *pIconRscType, MdlDesc **ppIconOwnerMD)
 Returns information about the current icon to be displayed in the Gui Tree item based on the status of the node. More...
 
StatusInt mdlTreeNode_setIcon (GuiTreeNodeP pNode, RscId iconRscId, RscType iconRscType, MdlDesc *iconOwnerMD)
 Sets information about the icon to be displayed in the Gui Tree item for this node. More...
 
StatusInt mdlTreeNode_setIconRsc (GuiTreeNodeP pNode, IconRsc *pIconRsc)
 Sets the IconRsc for the icon to be displayed in the Gui Tree item for this node. More...
 
StatusInt mdlTreeNode_setIconByName (GuiTreeNodeP pNode, WCharCP pIconName, Point2dCP pIconSize)
 Sets the name of the icon to be displayed in the Gui Tree item for this node. More...
 
StatusInt mdlTreeNode_getLeafIcon (GuiTreeNodeCP pNode, RscId *pIconRscId, RscType *pIconRscType, MdlDesc **ppIconOwnerMD)
 Returns information about the icon to be displayed in the Gui Tree item if this node is a leaf node. More...
 
StatusInt mdlTreeNode_setLeafIcon (GuiTreeNodeP pNode, RscId iconRscId, RscType iconRscType, MdlDesc *iconOwnerMD)
 Sets information about the icon to be displayed in the Gui Tree item if this node is a leaf node. More...
 
StatusInt mdlTreeNode_getLeafSelectedIcon (GuiTreeNodeCP pNode, RscId *pIconRscId, RscType *pIconRscType, MdlDesc **ppIconOwnerMD)
 Returns information about the icon to be displayed in the Gui Tree item if this node is a selected leaf node. More...
 
StatusInt mdlTreeNode_setLeafSelectedIcon (GuiTreeNodeP pNode, RscId iconRscId, RscType iconRscType, MdlDesc *iconOwnerMD)
 Sets information about the icon to be displayed in the Gui Tree item if this node is a selected leaf node. More...
 
StatusInt mdlTreeNode_getLeafDeselectedIcon (GuiTreeNodeCP pNode, RscId *pIconRscId, RscType *pIconRscType, MdlDesc **ppIconOwnerMD)
 Returns information about the icon to be displayed in the Gui Tree item if this node is a leaf node that is not selected. More...
 
StatusInt mdlTreeNode_setLeafDeselectedIcon (GuiTreeNodeP pNode, RscId iconRscId, RscType iconRscType, MdlDesc *iconOwnerMD)
 Sets information about the icon to be displayed in the Gui Tree item if this node is a leaf node that is not selected. More...
 
StatusInt mdlTreeNode_getCollapsedIcon (GuiTreeNodeCP pNode, RscId *pIconRscId, RscType *pIconRscType, MdlDesc **ppIconOwnerMD)
 Returns information about the icon to be displayed in the Gui Tree item if this node is a collapsed parent node. More...
 
StatusInt mdlTreeNode_setCollapsedIcon (GuiTreeNodeP pNode, RscId iconRscId, RscType iconRscType, MdlDesc *iconOwnerMD)
 Sets information about the icon to be displayed in the Gui Tree item if this node is a collapsed parent node. More...
 
StatusInt mdlTreeNode_getCollapsedSelectedIcon (GuiTreeNodeCP pNode, RscId *pIconRscId, RscType *pIconRscType, MdlDesc **ppIconOwnerMD)
 Returns information about the icon to be displayed in the Gui Tree item if this node is a selected collapsed parent node. More...
 
StatusInt mdlTreeNode_setCollapsedSelectedIcon (GuiTreeNodeP pNode, RscId iconRscId, RscType iconRscType, MdlDesc *iconOwnerMD)
 Sets information about the icon to be displayed in the Gui Tree item if this node is a selected collapsed parent node. More...
 
StatusInt mdlTreeNode_getCollapsedDeselectedIcon (GuiTreeNodeCP pNode, RscId *pIconRscId, RscType *pIconRscType, MdlDesc **ppIconOwnerMD)
 Returns information about the icon to be displayed in the Gui Tree item if this node is a collapsed parent node that is not selected. More...
 
StatusInt mdlTreeNode_setCollapsedDeselectedIcon (GuiTreeNodeP pNode, RscId iconRscId, RscType iconRscType, MdlDesc *iconOwnerMD)
 Sets information about the icon to be displayed in the Gui Tree item if this node is a collapsed parent node that is not selected. More...
 
StatusInt mdlTreeNode_getExpandedIcon (GuiTreeNodeCP pNode, RscId *pIconRscId, RscType *pIconRscType, MdlDesc **ppIconOwnerMD)
 Returns information about the icon to be displayed in the Gui Tree item if this node is an expanded parent node. More...
 
StatusInt mdlTreeNode_setExpandedIcon (GuiTreeNodeP pNode, RscId iconRscId, RscType iconRscType, MdlDesc *iconOwnerMD)
 Sets information about the icon to be displayed in the Gui Tree item if this node is an expanded parent node. More...
 
StatusInt mdlTreeNode_getExpandedSelectedIcon (GuiTreeNodeCP pNode, RscId *pIconRscId, RscType *pIconRscType, MdlDesc **ppIconOwnerMD)
 Returns information about the icon to be displayed in the Gui Tree item if this node is a selected expanded parent node. More...
 
StatusInt mdlTreeNode_setExpandedSelectedIcon (GuiTreeNodeP pNode, RscId iconRscId, RscType iconRscType, MdlDesc *iconOwnerMD)
 Sets information about the icon to be displayed in the Gui Tree item if this node is a selected expanded parent node. More...
 
StatusInt mdlTreeNode_getExpandedDeselectedIcon (GuiTreeNodeCP pNode, RscId *pIconRscId, RscType *pIconRscType, MdlDesc **ppIconOwnerMD)
 Returns information about the icon to be displayed in the Gui Tree item if this node is an expanded parent node that is not selected. More...
 
StatusInt mdlTreeNode_setExpandedDeselectedIcon (GuiTreeNodeP pNode, RscId iconRscId, RscType iconRscType, MdlDesc *iconOwnerMD)
 Sets information about the icon to be displayed in the Gui Tree item if this node is an expanded parent node that is not selected. More...
 
IconRscmdlTreeNode_getCurrentIconRsc (GuiTreeNodeCP pNode)
 Returns the IconRsc for the current icon to be displayed in the Gui Tree item based on the status of the node. More...
 
IconRscmdlTreeNode_getLeafSelectedIconRsc (GuiTreeNodeCP pNode)
 Returns the IconRsc for the icon to be displayed in the Gui Tree item if this node is a selected leaf. More...
 
IconRscmdlTreeNode_getLeafDeselectedIconRsc (GuiTreeNodeCP pNode)
 Returns the IconRsc for the icon to be displayed in the Gui Tree item if this node is a deselected leaf. More...
 
StatusInt mdlTreeNode_setLeafIconRsc (GuiTreeNodeP pNode, IconRsc *pIconRsc)
 Sets the IconRsc of the icon to be displayed in the Gui Tree item if this node is a leaf node, either selected or not. More...
 
StatusInt mdlTreeNode_setLeafSelectedIconRsc (GuiTreeNodeP pNode, IconRsc *pIconRsc)
 Sets the IconRsc of the icon to be displayed in the Gui Tree item if this node is a selected leaf node. More...
 
StatusInt mdlTreeNode_setLeafDeselectedIconRsc (GuiTreeNodeP pNode, IconRsc *pIconRsc)
 Sets the IconRsc of the icon to be displayed in the Gui Tree item if this node is a deselected leaf node. More...
 
StatusInt mdlTreeNode_setLeafIconByName (GuiTreeNodeP pNode, WCharCP pIconName, Point2dCP pIconSize)
 Sets the name of the icon to be displayed in the Gui Tree item if this node is a leaf node, either selected or not. More...
 
StatusInt mdlTreeNode_setLeafSelectedIconByName (GuiTreeNodeP pNode, WCharCP pIconName, Point2dCP pIconSize)
 Sets the name of the icon to be displayed in the Gui Tree item if this node is a selected leaf node. More...
 
StatusInt mdlTreeNode_setLeafDeselectedIconByName (GuiTreeNodeP pNode, WCharCP pIconName, Point2dCP pIconSize)
 Sets the name of the icon to be displayed in the Gui Tree item if this node is a deselected leaf node. More...
 
IconRscmdlTreeNode_getCollapsedSelectedIconRsc (GuiTreeNodeCP pNode)
 Returns the IconRsc for the icon to be displayed in the Gui Tree item if this node is a selected collapsed parent. More...
 
IconRscmdlTreeNode_getCollapsedDeselectedIconRsc (GuiTreeNodeCP pNode)
 Returns the IconRsc for the icon to be displayed in the Gui Tree item if this node is a deselected collapsed parent. More...
 
StatusInt mdlTreeNode_setCollapsedIconRsc (GuiTreeNodeP pNode, IconRsc *pIconRsc)
 Sets the IconRsc of the icon to be displayed in the Gui Tree item if this node is a collapsed parent node, either selected or not. More...
 
StatusInt mdlTreeNode_setCollapsedSelectedIconRsc (GuiTreeNodeP pNode, IconRsc *pIconRsc)
 Sets the IconRsc of the icon to be displayed in the Gui Tree item if this node is a selected collapsed parent node. More...
 
StatusInt mdlTreeNode_setCollapsedDeselectedIconRsc (GuiTreeNodeP pNode, IconRsc *pIconRsc)
 Sets the IconRsc of the icon to be displayed in the Gui Tree item if this node is a deselected collapsed parent node. More...
 
StatusInt mdlTreeNode_setCollapsedIconByName (GuiTreeNodeP pNode, WCharCP pIconName, Point2dCP pIconSize)
 Sets the name of the icon to be displayed in the Gui Tree item if this node is a collapsed parent node, either selected or not. More...
 
StatusInt mdlTreeNode_setCollapsedSelectedIconByName (GuiTreeNodeP pNode, WCharCP pIconName, Point2dCP pIconSize)
 Sets the name of the icon to be displayed in the Gui Tree item if this node is a selected collapsed parent node. More...
 
StatusInt mdlTreeNode_setCollapsedDeselectedIconByName (GuiTreeNodeP pNode, WCharCP pIconName, Point2dCP pIconSize)
 Sets the name of the icon to be displayed in the Gui Tree item if this node is a deselected collapsed parent node. More...
 
IconRscmdlTreeNode_getExpandedSelectedIconRsc (GuiTreeNodeCP pNode)
 Returns the IconRsc for the icon to be displayed in the Gui Tree item if this node is a selected expanded parent. More...
 
IconRscmdlTreeNode_getExpandedDeselectedIconRsc (GuiTreeNodeCP pNode)
 Returns the IconRsc for the icon to be displayed in the Gui Tree item if this node is a deselected expanded parent. More...
 
StatusInt mdlTreeNode_setExpandedIconRsc (GuiTreeNodeP pNode, IconRsc *pIconRsc)
 Sets the IconRsc of the icon to be displayed in the Gui Tree item if this node is a expanded parent node, either selected or not. More...
 
StatusInt mdlTreeNode_setExpandedSelectedIconRsc (GuiTreeNodeP pNode, IconRsc *pIconRsc)
 Sets the IconRsc of the icon to be displayed in the Gui Tree item if this node is a selected expanded parent node. More...
 
StatusInt mdlTreeNode_setExpandedDeselectedIconRsc (GuiTreeNodeP pNode, IconRsc *pIconRsc)
 Sets the IconRsc of the icon to be displayed in the Gui Tree item if this node is a deselected expanded parent node. More...
 
StatusInt mdlTreeNode_setExpandedIconByName (GuiTreeNodeP pNode, WCharCP pIconName, Point2dCP pIconSize)
 Sets the name of the icon to be displayed in the Gui Tree item if this node is a expanded parent node, either selected or not. More...
 
StatusInt mdlTreeNode_setExpandedSelectedIconByName (GuiTreeNodeP pNode, WCharCP pIconName, Point2dCP pIconSize)
 Sets the name of the icon to be displayed in the Gui Tree item if this node is a selected expanded parent node. More...
 
StatusInt mdlTreeNode_setExpandedDeselectedIconByName (GuiTreeNodeP pNode, WCharCP pIconName, Point2dCP pIconSize)
 Sets the name of the icon to be displayed in the Gui Tree item if this node is a deselected expanded parent node. More...
 
StatusInt mdlTreeNode_makeDisplayable (GuiTreeNodeP pNode)
 Makes the GuiTreeNode displayable by expanding all of its ancestors. More...
 
GuiTreeCellP mdlTreeNode_getCellAtIndex (GuiTreeNodeCP pNode, int colIndex)
 Returns a pointer to the GuiTreeCell at the specified column index within the GuiTreeNode. More...
 
GuiTreeCellP mdlTreeNode_getCellById (GuiTreeNodeCP pNode, int cellId)
 Returns a pointer to the GuiTreeCell with the specified Id within the GuiTreeNode. More...
 
GuiTreeCellP mdlTreeNode_getCellByName (GuiTreeNodeCP pNode, WCharCP pwName)
 Returns a pointer to the GuiTreeCell with the specified name contained within the given GuiTreeNode. More...
 
StatusInt mdlTreeNode_setStatusInCells (GuiTreeNodeP pNode, int status)
 Sets the status in each GuiTreeCell within the GuiTreeNode. More...
 
StatusInt mdlTreeNode_getDisplayText (GuiTreeNodeCP pNode, WCharCP *pwString)
 Returns a Unicode string with the display text of the GuiTreeCell at index 0 within a GuiTreeNode. More...
 
StatusInt mdlTreeNode_setDisplayText (GuiTreeNodeP pNode, WCharCP pwString)
 Sets the display text of the GuiTreeCell at index 0 within a GuiTreeNode fromthe given Unicode string. More...
 
StatusInt mdlTreeNode_getDisplayTextWString (GuiTreeNodeCP pNode, WStringR wString)
 Returns the display text of the specified GuiTreeNode in a WString. More...
 
StatusInt mdlTreeNode_getValue (GuiTreeNodeCP pNode, MSValueDescrR valueDescr)
 Returns a copy of the internal value descriptor of the GuiTreeCell at index 0 within a specified GuiTreeNode. More...
 
StatusInt mdlTreeNode_setValue (GuiTreeNodeP pNode, MSValueDescrCR pValueDescr, bool bSetDisplayText)
 Sets the internal value descriptor of the GuiTreeCell at index 0 within a specified GuiTreeNode. More...
 
StatusInt mdlTreeNode_setFontIndex (GuiTreeNodeP pNode, int fontIndex)
 Sets the font to use when drawing cells in the specified node. More...
 
StatusInt mdlTreeNode_setColorDescr (GuiTreeNodeP pNode, BSIColorDescr *pDescr)
 Sets the color descriptor to use when drawing cells in the specified node. More...
 
StatusInt mdlTreeNode_setBgColorDescr (GuiTreeNodeP pNode, BSIColorDescr *pDescr)
 Sets the background color descriptor to use when drawing cells in the specified node. More...
 
StatusInt mdlTreeNode_setSelectedColorDescr (GuiTreeNodeP pNode, BSIColorDescr *pDescr)
 Sets the color descriptor to use when drawing selected cells in the specified node. More...
 
StatusInt mdlTreeNode_setSelectedBgColorDescr (GuiTreeNodeP pNode, BSIColorDescr *pDescr)
 Sets the background color descriptor to use when drawing selected cells in the specified node. More...
 
StatusInt mdlTreeNode_getEditor (GuiTreeNodeCP pNode, long *pEditorType, long *pEditorId, MdlDesc **pEditorOwnerMD, bool *pbEditDisplay, bool *pbUpdateDisplay)
 Gets information about the editor for the specified tree node. More...
 
StatusInt mdlTreeNode_setEditor (GuiTreeNodeP pNode, long editorType, long editorId, MdlDesc *editorOwnerMD, bool bEditDisplay, bool bUpdateDisplay)
 Sets information about the editor for the specified tree node. More...
 
int mdlTreeNode_getChildCount (GuiTreeNodeCP pParentNode)
 Returns the number of children in the one level below a parent GuiTreeNode. More...
 
int mdlTreeNode_getDescendentCount (GuiTreeNodeCP pParentNode)
 Returns the number of descendents in all levels below a parent GuiTreeNode. More...
 
int mdlTreeNode_getDisplayableDescendentCount (GuiTreeNodeCP pParentNode)
 Returns the number of displayable descendents in all levels below a parent GuiTreeNode. More...
 
GuiTreeNodeP mdlTreeNode_getChildAtIndex (GuiTreeNodeCP pParentNode, int index)
 Returns a pointer to the GuiTreeNode at a specified child index in the one level below a parent GuiTreeNode. More...
 
GuiTreeCellP mdlTreeNode_getChildCellAtIndexes (GuiTreeNodeCP pParentNode, int childIndex, int columnIndex)
 Returns a pointer to the GuiTreeCell at a specified child index and column index in the one level below a parent GuiTreeNode. More...
 
GuiTreeNodeP mdlTreeNode_getFirstChild (GuiTreeNodeCP pParentNode)
 Returns a pointer to the first GuiTreeNode in the one level below a parent GuiTreeNode. More...
 
GuiTreeNodeP mdlTreeNode_getNextChild (GuiTreeNodeCP pParentNode, GuiTreeNodeCP pInChild)
 Returns a pointer to the next GuiTreeNode after a given child node in the one level below a parent GuiTreeNode. More...
 
GuiTreeNodeP mdlTreeNode_getPrevChild (GuiTreeNodeCP pParentNode, GuiTreeNodeCP pInChild)
 Returns a pointer to the previous GuiTreeNode before a given child node in the one level below a parent GuiTreeNode. More...
 
GuiTreeNodeP mdlTreeNode_getLastChild (GuiTreeNodeCP pParentNode)
 Returns a pointer to the last GuiTreeNode in the one level below a parent GuiTreeNode. More...
 
int mdlTreeNode_addChild (GuiTreeNodeP pParentNode, GuiTreeNodeP pChild)
 Adds a specified GuiTreeNode to the end of a parent GuiTreeNode. More...
 
int mdlTreeNode_insertChild (GuiTreeNodeP pParentNode, GuiTreeNodeP pChild, int index)
 Inserts a specified GuiTreeNode into the first level child list of a parent GuiTreeNode before a certain child index. More...
 
StatusInt mdlTreeNode_destroyChildAtIndex (GuiTreeNodeP pParentNode, int iNode)
 Destroys a GuiTreeNode at a specified index within a parent node and all of its GuiTreeCells. More...
 
StatusInt mdlTreeNode_removeChild (GuiTreeNodeP pParentNode, GuiTreeNodeP pChild, bool bDestroy)
 Removes a specified GuiTreeNode from the first level child list of a parent GuiTreeNode and optionally destroys the child node. More...
 
StatusInt mdlTreeNode_removeChildAtIndex (GuiTreeNodeP pParentNode, int iNode, bool bDestroyNode)
 Removes a GuiTreeNode at a specified index from the first level child list of a parent GuiTreeNode and optionally destroys the child node. More...
 
StatusInt mdlTreeNode_removeChildren (GuiTreeNodeP pParentNode, int iNode, int nNodes, bool bDestroy)
 Removes a certain number of GuiTreeNodes from the first level child list of a parent GuiTreeNode and optionally destroys the child nodes. More...
 
GuiTreeNodeP mdlTreeNode_insertData (GuiTreeNodeP pParentNode, MSValueDescrCR valueDescr, int index)
 Inserts a GuiTreeNode into the first level child list of a parent GuiTreeNode before a certain index with a specified value. More...
 
GuiTreeNodeP mdlTreeNode_insertString (GuiTreeNodeP pParentNode, WCharCP pString, int index)
 Inserts a GuiTreeNode into the first level child list of a parent GuiTreeNode before a certain index with a specified string as the value. More...
 
int mdlTreeNode_getChildIndex (GuiTreeNodeCP pParentNode, GuiTreeNodeCP pChild)
 Returns the index of the specified GuiTreeNode within the first level child list of a parent GuiTreeNode. More...
 
int mdlTreeNode_expand (GuiTreeNodeP pParentNode)
 Expands a parent node. More...
 
StatusInt mdlTreeNode_collapse (GuiTreeNodeP pParentNode, bool bCollapseDescendents)
 Collapses a parent node and optionally collapses its descendent parent nodes. More...
 
StatusInt mdlTreeNode_sort (GuiTreeNodeP pParentNode, bool ascending, int startIndex, int numToSort, int columnIndex)
 Sorts the GuiTreeNodes within the first level child list of a parent GuiTreeNode in ascending or descending order based on values in a specified column index. More...
 
StatusInt mdlTreeNode_search (GuiTreeNodeP pParentNode, MSValueDescrCP pValueDescr, InfoField *pInfoFields, int startIndex, int numToSearch, int columnIndex, bool bSearchAll, GuiTreeNodeP *ppFoundNode)
 Searches through either the first level child list of a parent GuiTreeNode or optionally all of its descendents for a specified value in a certain column. More...
 
StatusInt mdlTreeNode_searchUsingFunction (GuiTreeNodeP pParentNode, MSValueDescrCP pValueDescr, InfoField *pInfoFields, int startIndex, int numToSearch, int columnIndex, bool bSearchAll, TreeColumnSearchFuncP pSearchFunc, MdlDesc *pSearchOwnerMD, GuiTreeNodeP *ppFoundNode)
 Searches through either the first level child list of a parent GuiTreeNode or optionally all of its descendents for a specified value in a certain column. More...
 
bool mdlTreeNode_isDescendent (GuiTreeNodeCP pParentNode, GuiTreeNodeCP pNode)
 Determines is a given node is a descendent of a parent node. More...
 
StatusInt mdlTreeNode_moveChildToIndex (GuiTreeNodeP pParentNode, GuiTreeNodeP pNode, int index)
 Moves a child node to a particular index. More...
 
int mdlTreeCell_getStatus (GuiTreeCellCP pCell)
 Returns the status of the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_setStatus (GuiTreeCellP pCell, int status)
 Sets the status in the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_setEnabled (GuiTreeCellP pCell, bool enabled)
 Sets the Enabled status in the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_getDisplayText (GuiTreeCellCP pCell, WCharCP *ppwString)
 Returns the display text of the specified GuiTreeCell in a Unicode string. More...
 
StatusInt mdlTreeCell_setDisplayText (GuiTreeCellP pCell, WCharCP pwString)
 Sets the display text of the specified GuiTreeCell from the given Unicode string. More...
 
StatusInt mdlTreeCell_getDisplayTextWString (GuiTreeCellCP pCell, WStringR wString)
 Returns the display text of the specified GuiTreeCell in a WString. More...
 
GuiTreeNodeP mdlTreeCell_getNode (GuiTreeCellCP pCell)
 Returns the pointer to the parent GuiTreeNode of the specified GuiTreeCell. More...
 
GuiTreeColumnP mdlTreeCell_getColumn (GuiTreeCellCP pCell)
 Returns the pointer to the parent GuiTreeColumn of the specified GuiTreeCell. More...
 
int mdlTreeCell_getId (GuiTreeCellCP pCell)
 Returns the Id of the specified GuiTreeCell. More...
 
WCharCP mdlTreeCell_getName (GuiTreeCellCP pCell)
 Gets the name of the specified GuiTreeCell. More...
 
BSIColorDescr * mdlTreeCell_getColorDescr (GuiTreeCellCP pCell)
 Returns the color descriptor to use when drawing the text from the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_setColorDescr (GuiTreeCellP pCell, BSIColorDescr *pDescr)
 Sets the color descriptor to use when drawing the specified GuiTreeCell. More...
 
BSIColorDescr * mdlTreeCell_getBgColorDescr (GuiTreeCellCP pCell)
 Retrieves the color descriptor that specifies the background color of the given tree cell. More...
 
StatusInt mdlTreeCell_setBgColorDescr (GuiTreeCellP pCell, BSIColorDescr *pDescr)
 Sets the color descriptor that specifies the background color of the given tree cell. More...
 
BSIColorDescr * mdlTreeCell_getSelectedColorDescr (GuiTreeCellCP pCell)
 Returns the color descriptor to use when drawing the text from the specified GuiTreeCell when selected. More...
 
StatusInt mdlTreeCell_setSelectedColorDescr (GuiTreeCellP pCell, BSIColorDescr *pDescr)
 Sets the color descriptor to use when drawing the specified GuiTreeCell when selected. More...
 
BSIColorDescr * mdlTreeCell_getSelectedBgColorDescr (GuiTreeCellCP pCell)
 Gets a pointer to the background color descriptor that is set for the specified GuiTreeCell when selected. More...
 
StatusInt mdlTreeCell_setSelectedBgColorDescr (GuiTreeCellP pCell, BSIColorDescr *pDescr)
 Sets the background color descriptor for the specified GuiTreeCell when selected. More...
 
int mdlTreeCell_getFontIndex (GuiTreeCellCP pCell)
 Returns the font index to use when drawing the text from the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_setFontIndex (GuiTreeCellP pCell, int fontIndex)
 Sets the font index to use when drawing the text from the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_getIcon (GuiTreeCellCP pCell, RscId *pIconRscId, RscType *pIconRscType, MdlDesc **ppIconOwnerMD)
 Returns information about the icon to use when drawing the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_setIcon (GuiTreeCellP pCell, RscId iconRscId, RscType iconRscType, MdlDesc *iconOwnerMD)
 Sets information about the icon to use when drawing the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_getIconRsc (GuiTreeCellCP pCell, IconRsc **ppIconRsc)
 Retrieves the IconRsc associated with the icon to use when drawing the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_setIconRsc (GuiTreeCellP pCell, IconRsc *pIconRsc)
 Sets the IconRsc of the icon to use when drawing the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_setIconByName (GuiTreeCellP pCell, WCharCP pIconName, Point2dCP pIconSize)
 Sets the icon to use when drawing the specified GuiTreeCell based on icon name. More...
 
StatusInt mdlTreeCell_getIconColorOverrides (GuiTreeCellCP pCell, BSIColorDescr **ppFgColor, BSIColorDescr **ppBgColor)
 Returns the color descriptors to use when drawing the icons from the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_setIconColorOverrides (GuiTreeCellP pCell, BSIColorDescr *pFgColor, BSIColorDescr *pBgColor)
 Sets the color descriptors to use when drawing the icons from the specified GuiTreeCell. More...
 
int mdlTreeCell_getPixelIndent (GuiTreeCellCP pCell)
 Returns the number of pixels to indent before drawing the icon or text from the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_setPixelIndent (GuiTreeCellP pCell, int pixelIndent)
 Sets the number of pixels to indent before drawing the icon or text from the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_getValue (GuiTreeCellCP pCell, MSValueDescrR valueDescr)
 Returns a copy of the internal value descriptor of the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_setValue (GuiTreeCellP pCell, MSValueDescrCR valueDescr, bool bSetDisplayText)
 Sets the internal value descriptor of the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_getStringValue (GuiTreeCellCP pCell, WCharCP *ppWString)
 Returns the Unicode string value of the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_getStringValueWString (WStringR wString, GuiTreeCellCP Cell)
 Returns the Unicode string value of the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_setStringValue (GuiTreeCellP pCell, WCharCP pwString, bool bSetDisplayText)
 Sets the internal value descriptor to a Unicode text string in the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_getLongValue (GuiTreeCellCP pCell, long *pValue)
 Returns the long value of the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_setLongValue (GuiTreeCellP pCell, long value)
 Sets the internal value descriptor to a long in the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_getUInt32Value (GuiTreeCellCP pCell, UInt32 *pValue)
 Returns the unsigned long value of the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_setUInt32Value (GuiTreeCellP pCell, UInt32 value)
 Sets the internal value descriptor to an unsigned long in the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_getPointerValue (GuiTreeCellCP pCell, void **ppValue)
 Returns the void pointer value of the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_setPointerValue (GuiTreeCellP pCell, void *value)
 Sets the internal value descriptor to a void pointer in the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_getDoubleValue (GuiTreeCellCP pCell, double *pValue)
 Returns the double value of the specified GuiTreeCell. More...
 
StatusInt mdlTreeCell_setDoubleValue (GuiTreeCellP pCell, double value)
 Sets the internal value descriptor to a double in the specified GuiTreeCell. More...
 
int mdlTreeCell_getInfoFieldCount (GuiTreeCellCP pCell)
 Returns the number of info fields in a GuiTreeCell. More...
 
InfoField mdlTreeCell_getInfoFieldInt64 (GuiTreeCellCP pCell, int index, StatusInt *pStatus)
 Returns the info field at a specified index in a GuiTreeCell as a 64-bit integer value. More...
 
Int32 mdlTreeCell_getInfoFieldInt32 (GuiTreeCellCP pCell, int index, StatusInt *pStatus)
 Returns the info field at a specified index in a GuiTreeCell as a 32-bit integer value. More...
 
void * mdlTreeCell_getInfoFieldPointer (GuiTreeCellCP pCell, int index, StatusInt *pStatus)
 Returns the info field at a specified index in a GuiTreeCell as a pointer value. More...
 
StatusInt mdlTreeCell_setInfoFieldInt64 (GuiTreeCellP pCell, int index, InfoField value)
 Sets the information field at a specified index in a GuiTreeCell as a 64-bit integer value. More...
 
StatusInt mdlTreeCell_setInfoFieldInt32 (GuiTreeCellP pCell, int index, Int32 value)
 Sets the information field at a specified index in a GuiTreeCell as a 32-bit integer value. More...
 
StatusInt mdlTreeCell_setInfoFieldPointer (GuiTreeCellP pCell, int index, void *value)
 Sets the information field at a specified index in a GuiTreeCell as a pointer value. More...
 
StatusInt mdlTreeCell_getEditor (GuiTreeCellCP pCell, long *pEditorType, long *pEditorId, MdlDesc **pEditorOwnerMD, bool *pbEditDisplay, bool *pbUpdateDisplay)
 Gets information about the editor for the specified tree cell. More...
 
StatusInt mdlTreeCell_setEditor (GuiTreeCellP pCell, long editorType, long editorId, MdlDesc *editorOwnerMD, bool bEditDisplay, bool bUpdateDisplay)
 Sets information about the editor for the specified tree cell. More...
 
StatusInt mdlTreeCell_setDisplayTextFromEditor (GuiTreeCellP pCell, RawItemHdr *parentRiP)
 Sets the display text for the cell based on the current value of the cell editor. More...
 
StatusInt mdlTreeCell_setIconFromEditor (GuiTreeCellP pCell, RawItemHdr *parentRiP)
 Sets the icon for the cell based on the current value of the cell editor. More...
 
StatusInt mdlTreeCell_getBalloonText (WStringR wString, GuiTreeCellP pCell)
 Returns the balloon text set in GuiTreeCell as a WString. More...
 
StatusInt mdlTreeCell_setBalloonText (GuiTreeCellP pCell, WCharCP pwText)
 Sets the balloon text in the specified GuiTreeCell. More...
 
int mdlTreeNodePath_getNodeCount (GuiTreeNodePathCP pPath)
 Gets the count of nodes in a GuiTreeNodePath. More...
 
GuiTreeNodeP mdlTreeNodePath_getNodeAtIndex (GuiTreeNodePathCP pPath, int index)
 Gets a GuiTreeNode at a specified index within a GuiTreeNodePath. More...
 
GuiTreeNodeP mdlTreeNodePath_getNodeAtLevel (GuiTreeNodePathCP pPath, int level)
 Gets a GuiTreeNode at a specified level within a GuiTreeNodePath. More...
 

Typedef Documentation

typedef void(* TreeCellDestroyFuncP)(GuiTreeCellP pCell)
typedef bool(* TreeColumnSearchFuncP)(GuiTreeNodeP pParentNode,MSValueDescrCP pValueDescr,InfoField *pInfoFields,GuiTreeNodeP pNode,int columnIndex)
typedef int(* TreeColumnSortFuncP)(GuiTreeNodeP pParentNode,GuiTreeNodeP pNode1,GuiTreeNodeP pNode2,bool ascending,int columnIndex)
typedef TreeCompareStatus(* TreeNodeCompareFuncP)(GuiTreeModelP pTreeModel1,GuiTreeNodeP pTreeNode1,GuiTreeModelP pTreeModel2,GuiTreeNodeP pTreeNode2,int columnIndex)
typedef void(* TreeNodeDestroyFuncP)(GuiTreeNodeP pNode)
typedef void(* TreeNodeFormatFuncP)(GuiTreeModelCP pTreeModel,GuiTreeNodeCP pTreeNode,CallbackArgP userArg,int depth)
typedef StatusInt(* TreeNodeModsFuncP)(TreeChangeMod changeMod,GuiTreeModelP pTreeModel1,GuiTreeNodeP pNode1,GuiTreeModelP pTreeModel2,GuiTreeNodeP pNode2,TreeAddRelative addRelative,GuiTreeNodeP pRelNode,int columnIndex)
typedef void(* TreeNodeTraverseFuncP)(GuiTreeModelP pTreeModel,GuiTreeNodeP pTreeNode,CallbackArgP userArg)

Function Documentation

StatusInt mdlTreeColumn_setSecondarySortColumn ( GuiTreeColumnP  pColumn,
int  secondaryColumn 
)

Sets the secondary sort column when sorting on the column index associated with this GuiTreeColumn.

Parameters
[in]pColumnpoints to the GuiTreeColumn.
[in]secondaryColumnColumn index of the column to sort on if values are the same.
Returns
SUCCESS, or MDLERR_ADDRNOTVALID if pColumn is invalid
See also
mdlTreeNode_sort mdlTreeModel_getColumnAtIndex mdlTreeColumn_getSecondarySortColumn
Remarks
Required Library: mdlbltin.lib +------------—+------------—+------------—+------------—+------------—+---—

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.