Help Center

CHeader.GetOverflowRectmethod

Gets the coordinates of the drop-down overflow area for a specified header control. The header control must be of type HDF_SPLITBUTTON.

WindowsmethodCHeader.incdocumented

Syntax

FUNCTION GetOverflowRect (BYVAL hHeader AS HWND, BYVAL prc AS RECT PTR) AS BOOLEAN
FUNCTION GetOverflowRect (BYVAL hHeader AS HWND, BYREF rc AS RECT) AS BOOLEAN
FUNCTION GetOverflowRect (BYVAL hHeader AS HWND) AS RECT

Parameters

NameDescription
hHeaderThe handle of the header control.
prcA 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

Returns TRUE if successful, or FALSE otherwise.

Description

Gets the coordinates of the drop-down overflow area for a specified header control. The header control must be of type HDF_SPLITBUTTON.

Reference

  • Include file CHeader.inc
  • Defined in AfxNova/CHeader.inc:350
  • Documented in Windows/WIndows Controls/CHeader Class.md
  • Topic: CHeader Class