【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.6.20.2 Menu::AddPopup
Contents
Description
Adds a popup menu at a the end of the menu
Syntax
BOOL AddPopup( LPCSTR lpcszText, Menu & menu, int nBeginId = -1 )
Parameters
- 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