Header_GetFocusedItem macro (commctrl.h)
Gets the item in a header control that has the focus. Use this macro or send the HDM_GETFOCUSEDITEM message explicitly.
Syntax
int Header_GetFocusedItem(
HWND hwnd
);
Parameters
hwnd
Type: HWND
A handle to the header control.
Return value
Type: int
Returns the index of the item in focus.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |