CStatusBar::GetItemRect

voidGetItemRect(intnIndex**,LPRECTlpRect)const;**

Parameters

nIndex

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

lpRect

Points to a 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