Windows Dev Center

Header_GetOverflowRect macro

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

Parameters

hwnd [in]

Type: HWND

A handle to the header control.

lpItemRect [in, out]

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

Returns TRUE if successful; otherwise, FALSE.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft