CHeaderCtrl::GetItemRect

BOOL GetItemRect( int nIndex, LPRECT lpRect ) const;

Return Value

Nonzero if successful; otherwise 0.

Parameters

nIndex

The zero-based index of the header control item.

lpRect

A pointer to the address of a RECT structure that receives the bounding rectangle information.

Remarks

This member function implements the behavior of the Win32 message HDM_GETITEMRECT, as described in the Platform SDK.

CHeaderCtrl OverviewClass MembersHierarchy Chart