共用方式為


CWindow::SetMenu

Changes the window's current menu.

BOOL SetMenu(
   HMENU hMenu 
) throw();

Remarks

See SetMenu in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::GetMenu

Other Resources

CWindow Members