HDM_GETITEMRECT (Compact 2013)

3/28/2014

This message retrieves the bounding rectangle for a specified item in a header control.

Syntax

HDM_GETITEMRECT wParam = (WPARAM) (int) iIndex;
    lParam = (LPARAM) lpItemRect;

Parameters

  • iIndex
    Zero-based index of the header control item for which to retrieve the bounding rectangle.
  • lpItemRect
    Long pointer to a RECT structure that receives the bounding rectangle data.

Return Value

Nonzero indicates success. Zero indicates failure

Requirements

Header

commctrl.h

See Also

Reference

Header Controls Messages
Header_GetItemRect
RECT