谢谢

解决方案 »

  1.   

    CStatusBar::SetPaneInfo
    void SetPaneInfo( int nIndex, UINT nID, UINT nStyle, int cxWidth );ParametersnIndexIndex of the indicator pane whose style is to be set.nIDNew ID for the indicator pane.nStyleNew style for the indicator pane.cxWidthNew width for the indicator pane.
      

  2.   

    you can include a leading tab character ("\t") in text written to a status bar to center the text in the pane or two leading tab characters ("\t\t") to right-align the text