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.
- Returns the handle to the item if successful, or NULL otherwise.
- hwndTV
- Handle to the tree view control.
See also TreeView_GetNextItem
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.