Header_GetFocusedItem macro

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 hwndHD
);

Parameters

hwndHD

Type: HWND

A handle to the header control.

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

 

 

Show: