如何调用vpi更改vb自带工具栏的颜色
不胜感激

解决方案 »

  1.   

    不知道还能不能用:
    http://search.csdn.net/Expert/topic/936/936581.xml?temp=.5190393
      

  2.   

    http://vbangle.5ivb.net/Club/ODMenus2自绘主菜单及工具条.rar
      

  3.   

    (可以参考mk:@MSITStore:C:\Program%20Files\Microsoft%20Visual%20Studio\MSDN98\98VS\2052\Shellcc.chm::/inet401/help/itt/CommCtls/ToolBar/ToolBar.htm)
    只是一个思路
    向toolbar发送消息 使用sendmessage
    发送TB_SETCOLORSCHEMETB_SETCOLORSCHEME
    TB_SETCOLORSCHEME
        wParam = 0;
        lParam = (LPARAM)(LPCOLORSCHEME) lpcs;Sets the color scheme information for the toolbar control. The return value for this message is not used. 
    lpcs 
    Address of a COLORSCHEME structure that contains the color scheme information. 
    The toolbar control uses the color scheme information when drawing the 3-D elements in the control. Version 4.71 See also TB_GETCOLORSCHEME