还是结合使用Win32吧
HINSTANCE instance = GetModuleHandle(0);
SHMENUBARINFO mbi;
ZeroMemory(&mbi,sizeof(SHMENUBARINFO));
mbi.cbSize = sizeof(SHMENUBARINFO);
mbi.hwndParent = this->winId();
mbi.nToolBarId = IDR_SYS_MENU;
mbi.hInstRes = instance;
mbi.nBmpId = 0;
mbi.cBmpImages = 0;
mbi.dwFlags = SHCMBF_COLORBK | SHCMBF_HMENU | SHCMBF_HIDESIPBUTTON;
if(!SHCreateMenuBar(&mbi))
{
MessageBox(this->winId(),L"Load Menu Failed",L"Warming",MB_OK);
}