HDM_GETITEMRECT

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

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later
Related macro: Header_GetItemRect

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 Values

Nonzero indicates success. Zero indicates failure