Share via


Header_GetItemRect

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

BOOL Header_GetItemRect(
HWND hwndHD, 
int iIndex, 
LPRECT lpItemRect );

Parameters

  • hwndHD
    Handle to a header control.
  • 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 information.

Return Values

Nonzero indicates success. Zero indicates otherwise.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Commctrl.h   Commctrl.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

HDM_GETITEMRECT, RECT

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.