HDM_GETITEMDROPDOWNRECT message

Gets the bounding rectangle of the split button for a header item with style HDF_SPLITBUTTON. Send this message explicitly or by using the Header_GetItemDropDownRect macro.

Parameters

wParam [in]

The zero-based index of the header control item for which to retrieve the bounding rectangle.

lParam [in, out]

A pointer to a RECT structure that receives the bounding rectangle information. The message sender is responsible for allocating this structure. The coordinates returned in the RECT structure are expressed relative to the header control parent.

Return value

Returns TRUE if successful, or FALSE otherwise.

Remarks

The header item must have style HDF_SPLITBUTTON.

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