HDM_GETFOCUSEDITEM message

Gets the item in a header control that has the focus. Send this message explicitly or by using the Header_GetFocusedItem macro.

Parameters

wParam

Not used. Must be zero.

lParam

Not used. Must be zero.

Return value

Returns the index of the item in focus.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Commctrl.h

See also

About Header Controls