Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the default menu for a CMFCMenuBar object based on the resource ID.
void SetDefaultMenuResId(
UINT uiResId
);
Parameters
- [in] uiResId
The resource ID for the new default menu.
Remarks
The CMFCMenuBar::RestoreOriginalstate method restores the default menu from the resource file.
Use the CMFCMenuBar::GetDefaultMenuResId method to retrieve the default menu without restoring it.
Requirements
Header: afxmenubar.h