|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Visual Studio 2008
Sets the current menu to the specified menu.
Causes the window to be redrawn to reflect the menu change.
SetMenu will not destroy a previous menu. An application should call the CMenu::DestroyMenu member function to accomplish this task.