TreeView_GetRootTreeView_GetRoot*
*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.

hwndTV
Handle to the tree view control.

See also TreeView_GetNextItem


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.