SECMDIFrameWnd::LoadAdditionalMenus

BOOLSECMDIFrameWnd::LoadAdditionalMenus(UINTnCount, UINTnIDMenu)

Loads additional menus that are not created by the document templates.

Defined in: swinmdi.cpp

Return Value

TRUE if it successfully loads all menus, FALSE otherwise

Parameters

nCount

Count of the variable arguments

nIDMenu

The anchor ID.

Example

Usage

LoadAdditionalMenus( 1, IDR_MAINFRAME_MENU2 );
LoadAdditionalMenus( 5, IDR_MENU1, IDR_MENU2, IDR_MENU3, IDR_MENU4, IDR_MENU5 );