解决方案 »

  1.   

    CStatusBar::SetIndicators
    设成不同就有不同 的效果了
      

  2.   

    CStatusBar::SetPaneInfoSee Also
    CStatusBar Overview | Class Members | Hierarchy Chart | CStatusBar::GetPaneInfo
    Sets the specified indicator pane to a new ID, style, and width.void SetPaneInfo(
       int nIndex,
       UINT nID,
       UINT nStyle,
       int cxWidth 
    );
    Parameters
    nIndex 
    Index of the indicator pane whose style is to be set. 
    nID 
    New ID for the indicator pane. 
    nStyle 
    New style for the indicator pane. 
    cxWidth 
    New width for the indicator pane. 
    Res
    The following indicator styles are supported: SBPS_NOBORDERS   No 3-D border around the pane. 
    SBPS_POPOUT   Reverse border so that text "pops out." 
    SBPS_DISABLED   Do not draw text. 
    SBPS_STRETCH   Stretch pane to fill unused space. Only one pane per status bar can have this style. 
    SBPS_NORMAL   No stretch, borders, or pop-out. 
    See Also
    CStatusBar Overview | Class Members | Hierarchy Chart | CStatusBar::GetPaneInfo______________________________________________________让width = 0不就隐藏了嘛
      

  3.   

    哇 Wargod2002(Wargod2002) 的方法还得自己在输入个数组太麻烦