CStatusBar::GetItemRect

复制 nIndex 指定的指示符的坐标为结构指向由 lpRect。

void GetItemRect( 
   int nIndex, 
   LPRECT lpRect  
) const;

参数

  • nIndex
    矩形协调指示符的索引进行检索。

  • lpRect
    指向 RECT 将接收 nIndex指定的指示符坐标的结构或 CRect 对象。

备注

坐标在像素相对于状态栏的左上角。

要求

Header: afxext.h

请参见

参考

CStatusBar Class

层次结构图

CStatusBar::CommandToIndex

CStatusBar::GetPaneInfo