"); //-->
HINSTANCE hInst = AfxGetResourceHandle();
HWND hwndCB = CommandBar_Create(hInst,this->GetSafeHwnd(),1);
if(hwndCB == NULL)
{
TRACE0("Failed to create CommandBar\n");
}
if(!CommandBar_InsertMenubar(hwndCB,hInst,IDR_MENU1,3) )
{
TRACE0("Failed Insert Menu to CommandBar\n");
}
*博客内容为网友个人发布,仅代表博主个人观点,如有侵权请联系工作人员删除。