HDM_SETFOCUSEDITEM message

Sets the focus to a specified item in a header control. Send this message explicitly or by using the Header_SetFocusedItem macro.

Parameters

wParam

Not used. Must be zero.

lParam [in]

The index of item.

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

Requirement Value
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