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.
Inserts a new menu item at the specified position in a menu.
BOOL InsertMenuItem( 
   UINT uItem, 
   LPMENUITEMINFO lpMenuItemInfo, 
   BOOL fByPos = FALSE 
);
Parameters
- uItem 
 See description of uItem in InsertMenuItem in the Windows SDK.
- lpMenuItemInfo 
 See description of lpmii in InsertMenuItem in the Windows SDK.
- fByPos 
 See description of fByPosition in InsertMenuItem in the Windows SDK.
Remarks
This function wraps InsertMenuItem, described in the Windows SDK.
Requirements
Header: afxwin.h