如题,请说的详细点,我是菜鸟哈。

解决方案 »

  1.   

    windows是消息驱动
    所以SttusBar用SB_SETBKCOLOR改变颜色lResult = SendMessage(      // returns LRESULT in lResult     
    (HWND) hWndControl,      // handle to destination control     
    (UINT) SB_SETBKCOLOR,      // message ID     (WPARAM) wParam,      // = 0; not used, must be zero    (LPARAM) lParam      // = (LPARAM) (COLORREF) clrBk; ); wParam
    Must be zero.
    clrBk
    COLORREF value that specifies the new background color. Specify the CLR_DEFAULT value to cause the status bar to use its default background color. 
     你还是寻找MSDN吧 !
      

  2.   

    简单的方面就是用skinmagic,可以对这两个东西直接绘制,然后作为资源加载进来,效果不错,网上有教程
      

  3.   

    chenyu2202863 
        你说的代码应该在哪个地方 添加啊?我很菜的。
      

  4.   

    具体怎么做啊?我什么都不知道啊。。ON_CTRL_COLOR消息在哪处理啊?是在ONCREATE函数里处理吗?