Abhi MFC

Abhi MFC

  • NA
  • 13
  • 0

Add Menu on the MFC Dialog

Jan 21 2010 12:07 AM
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

Answers (1)