Hi,
I was trying to insert a menu on my MFC dialog i have written below code to do that, but its not displaying the menu, can anyone help me on this .
CToolBar m_wndToolBar;
if(!m_wndToolBar.Create(this) || !m_wndToolBar.LoadToolBar(IDR_TOOLBAR1))
{
TRACE0("Failed to Create Dialog Toolbar\n");
EndDialog(IDCANCEL);
}
do i need to add anything else here ?
Thanks
Abhi