如果HWND是主窗口,可以使用API: GetMenu(...) 得到屬於主窗口的句柄,原型如下: HMENU GetMenu(HWND hWnd); CMenu* GetMenu const;
確定! 回上一頁