TreeView_GetParentTreeView_GetParent*
*Contents  *Index  *Topic Contents
*Previous Topic: TreeView_GetNextVisible
*Next Topic: TreeView_GetPrevSibling

TreeView_GetParent


HTREEITEM TreeView_GetParent(
    HWND hwndTV,
    HTREEITEM hitem
);		

Retrieves the parent item of the specified tree view item. You can use this macro, or you can explicitly send the TVM_GETNEXTITEM message with the TVGN_PARENT flag.

hwndTV
Handle to the tree view control.
hitem
Handle to an item.

See also TreeView_GetChild, TreeView_GetNextItem, TreeView_GetNextSibling, TreeView_GetPrevSibling


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