 |
CreatePopupMenu ..msdn Add comment W32 Constants Translate this page |
 |
 |
The CreatePopupMenu function creates a drop-down menu, submenu, or shortcut menu.
The menu is initially empty. You can insert or append menu items by using the InsertMenuItem function. You can also use the InsertMenu function to insert menu items and the AppendMenu function to append menu items. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HMENU CreatePopupMenu(VOID);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CreatePopupMenu IN user32
|
 |
 |
 |
| Parameters: |
 |
| This function has no parameters. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is a handle to the newly created menu. If the function fails, the return value is NULL. |
 |
 |
| My comment: |
 |
| Call the DestroyMenu function to free the resource. |
 |
 |
| Word Index links for the CreatePopupMenu : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-12-09 12:02:04 | | Modified: | 2001-12-09 12:04:48 | Visited in last 7 days: 34 |