Contents Index Topic Contents | ||
Previous Topic: TreeView_GetParent Next Topic: TreeView_GetPrevVisible |
TreeView_GetPrevSibling
HTREEITEM TreeView_GetPrevSibling( HWND hwndTV, HTREEITEM hitem );Retrieves the previous sibling item of a specified item in a tree view control. You can use this macro, or you can explicitly send the TVM_GETNEXTITEM message with the TVGN_PREVIOUS flag.
- Returns the handle to the item if successful, or NULL otherwise.
- hwndTV
- Handle to the tree view control.
- hitem
- Handle to an item.
See also TreeView_GetChild, TreeView_GetNextItem, TreeView_GetNextSibling, TreeView_GetParent
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.