TreeView_GetPrevVisibleTreeView_GetPrevVisible*
*Contents  *Index  *Topic Contents
*Previous Topic: TreeView_GetPrevSibling
*Next Topic: TreeView_GetRoot

TreeView_GetPrevVisible


HTREEITEM TreeView_GetPrevVisible(
    HWND hwndTV,
    HTREEITEM hitem
);		

Retrieves the first visible item that precedes 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_PREVIOUSVISIBLE flag.

hwndTV
Handle to the tree view control.
hitem
Handle to an item. The specified item must be visible. Use the TVM_GETITEMRECT message to determine whether an item is visible.

See also TreeView_GetFirstVisible, TreeView_GetNextItem, TreeView_GetNextVisible


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