共用方式為


CMFCStatusBar::GetPaneWidth

Retrieves the width of the pane of a status bar.

int GetPaneWidth(
   int nIndex 
) const;

Parameters

  • [in] nIndex
    Specifies the index of the status bar pane.

Return Value

The width of the status bar pane that nIndex specifies; otherwise, zero if a status-bar pane does not exist.

Requirements

Header: afxstatusbar.h

See Also

Reference

CMFCStatusBar Class

Hierarchy Chart