【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.6.20.14 Menu::InsertPopup
Contents
Description
Inserts a popup menu at a specified position
Syntax
BOOL InsertPopup( UINT nPosition, LPCSTR lpcszText, Menu & menu, int nBeginId = -1 )
Parameters
- nPosition
- items position index
- lpcszText
- name of the popup menu
- menu
- the menu object to be inserted
- nBeginId
- if internal menu, the first item of the inserted menu will have nBeginId as command ID. The consecutive items will have consecutive command IDs.
Return
returns true if successful else false.
Examples
Remark
See Also
Header to Include
Control.h