TreeView_GetSelection macro (commctrl.h)
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.
Syntax
void TreeView_GetSelection(
hwnd
);
Parameters
hwnd
Type: HWND
Handle to the tree-view control.
Return value
None
Requirements
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |
See also
Feedback
Submit and view feedback for