 |
CreateMenu ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The CreateMenu function creates a menu. The menu is initially empty, but it can be filled with menu items by using the InsertMenuItem, AppendMenu, and InsertMenu functions. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HMENU CreateMenu(VOID);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CreateMenu 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 CreateMenu : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-12-09 11:56:08 | | Modified: | 2001-12-09 11:58:16 | Visited in last 7 days: 29 |