怎么让工具条成透明或者下移??
我让窗口使用了背景图,可是工具条总挡着标题,怎么让工具条透明,或者下移一些??
我添加工具条是用以下代码:
//添加工具条
if (!m_wndtoolbar.CreateEx( this,TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_ALIGN_TOP | CBRS_GRIPPER | CBRS_TOOLTIPS ,
CRect(4,4,0,0)) || !m_wndtoolbar.LoadToolBar(IDR_TOOLBAR1) )
{
TRACE0("failed to create toolbar\n");
return FALSE;
}
m_wndtoolbar.ShowWindow(SW_SHOW);
RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0);
这样工具条总在最上方,能否让工具条下移一点??