CMenu::InsertMenuItem
Inserts a new menu item at the specified position in a menu.
BOOL InsertMenuItem(
UINT uItem,
LPMENUITEMINFO lpMenuItemInfo,
BOOL fByPos = FALSE
);
Параметры
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.
Заметки
This function wraps InsertMenuItem, described in the Windows SDK.
Требования
Header: afxwin.h