CStatusBar::GetItemRect

void GetItemRect( int nIndex, LPRECT lpRect ) const;

Parameters

nIndex

Index of the indicator whose rectangle coordinates are to be retrieved.

lpRect

Points to a RECT structure or a CRect object that will receive the coordinates of the indicator specified by nIndex.

Remarks

Copies the coordinates of the indicator specified by nIndex into the structure pointed to by lpRect. Coordinates are in pixels relative to the upper-left corner of the status bar.

CStatusBar OverviewClass MembersHierarchy Chart

See Also   CStatusBar::CommandToIndex, CStatusBar::GetPaneInfo