bgiSetGizmoNodeText

Sets the text of a specific node in a TreeView control. Takes gizmoNode (Int), text (String), and parentTreeview (Int). Returns 0 in all cases (success returns 0, not 1).

BGI GUI

Parameters & Returns

Parameters

gizmoNode Int
text String
parentTreeview Int

Returns

Int

Quick Summary

Sets the text of a specific node in a TreeView control. Takes gizmoNode (Int), text (String), and parentTreeview (Int). Returns 0 in all cases (success returns 0, not 1).

Technical Exegesis...

Sets the text of a specific node in a TreeView control. Searches gizmoMap for parentTreeview ID to get TreeView HWND. Searches treeviewNodes vector for gizmoNode ID to find the node's HTREEITEM handle and update the text field in the CTreeViewNode structure. If node found, calls UpdateTreeViewItemText helper function with parentHWND, hTargetNode, text, and node ID. Returns 0 in all cases (success returns 0, not 1).

Example

Example.bam
; No example implemented yet