Header_GetOverflowRect macro (commctrl.h)

Gets the coordinates of the drop-down overflow area for a specified header control. The header control must be of type HDF_SPLITBUTTON. Use this macro or send the HDM_GETOVERFLOWRECT message explicitly.

Syntax

BOOL Header_GetOverflowRect(
  [in]      HWND   hwnd,
  [in, out] LPRECT lprc
);

Parameters

[in] hwnd

Type: HWND

A handle to the header control.

[in, out] lprc

Type: LPRECT

A pointer to a RECT structure to receive the bounding rectangle information.The message sender is responsible for allocating this structure. The coordinates returned in the RECT structure are expressed as screen coordinates.

Return value

Type: BOOL

Returns TRUE if successful; otherwise, FALSE.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header commctrl.h