Contents Index Topic Contents | ||
Previous Topic: TreeView_GetPrevVisible Next Topic: TreeView_GetScrollTime |
TreeView_GetRoot
HTREEITEM TreeView_GetRoot( HWND hwndTV );Retrieves the topmost or very first item of the tree view control. You can use this macro, or you can explicitly send the TVM_GETNEXTITEM message with the TVGN_ROOT flag.
- Returns the handle to the item if successful, or NULL otherwise.
- hwndTV
- Handle to the tree view control.
See also TreeView_GetNextItem
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.