Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Header_GetFocusedItem

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft