Prev Next
TreeView_EnsureVisible info Overview GroupThe TreeView_EnsureVisible macro ensures that a tree-view item is visible, expanding the parent item or scrolling the tree-view control, if necessary. You can use this macro or explicitly send the TVM_ENSUREVISIBLE message. BOOL TreeView_EnsureVisible(
Parameters
Return ValuesReturns TRUE if the system scrolled the items in the tree-view control to ensure that the specified item is visible. Otherwise, the macro returns FALSE. RemarksIf the TreeView_EnsureVisible macro expands the parent item, the parent window receives the TVN_ITEMEXPANDING and TVN_ITEMEXPANDED notification messages. See AlsoTVM_ENSUREVISIBLE, TVN_ITEMEXPANDED, TVN_ITEMEXPANDING
. |