Hi, I've searched pocketpcdn and found the article. But following method
doesn't work. It returns false. Can you give me any idea why? IDR_MENU_MAP is
a menu I created with the resource editor. This code is inside
OnInitDialog().
SHMENUBARINFO info;
info.cbSize = sizeof(info);
info.hwndParent = m_hWnd;
info.dwFlags = 0;
info.nToolBarId = IDR_MENU_MAP;
info.hInstRes = ::AfxGetInstanceHandle();
info.nBmpId = 0;
info.cBmpImages = 0;
if(SHCreateMenuBar(&info))
AfxMessageBox(_T("true"));
else
AfxMessageBox(_T("false"));