怎么在对话框上增加工具条???我的程序怎么不管用??
BOOL CToolsDlg::OnInitDialog()
{
CToolBar m_wndToolBar;
m_wndToolBar.Create(this, WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_TOOLTIPS |CBRS_FLYBY | CBRS_BORDER_BOTTOM);
m_wndToolBar.LoadToolBar(IDR_TOOLBAR1);
}
为什么加不上啊??
是CDialog程序!!!!