TreeView_GetSelectionTreeView_GetSelection*
*



Contents  *



Index  *Topic Contents
*Previous Topic: TreeView_GetScrollTime
*Next Topic: TreeView_GetTextColor

TreeView_GetSelection


HTREEITEM TreeView_GetSelection(
    HWND hwndTV
);		

Retrieves the currently selected item in a tree view control. You can use this macro, or you can explicitly send the TVM_GETNEXTITEM message with the TVGN_CARET 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.