请问:
1.我在SDI视图窗口中加了滚动条,我想设置滚动条的宽度/颜色,该怎么做?
2.我想在状态栏写一句话(文本),怎么才能实现?谢谢!

解决方案 »

  1.   

    1  只有自己画了
    2  CStatusBar * pStatusBar =(CStatusBar *)AfxGetMainWnd() —>GetDescendantWindow
    (AFX_IDW_STUTUS_BAR);
     得到状态栏的指针,再用SetPaneText
      

  2.   

    这是一个给listctrl的滚动条变色的例子,参考看看:
    http://www.codeguru.com/Cpp/controls/listview/backgroundcolorandimage/article.php/c4185/
      

  3.   

    2  CStatusBar * pStatusBar =(CStatusBar *)AfxGetMainWnd() —>GetDescendantWindow
    (AFX_IDW_STUTUS_BAR);
     得到状态栏的指针,再用SetPaneText
    ---------------------------------------------
    在editview的哪个函数中??
      

  4.   

    laiyiling(最熟悉的陌生人) :能说明一下吗?