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.
Attaching menu to a top-level form
Shortcut Menu Class
HMENU CreateMenu(VOID); DECLARE INTEGER CreateMenu IN user32 This function has no parameters.
If the function succeeds, the return value is a handle to the newly created menu. If the function fails, the return value is NULL.
Call the DestroyMenu function to free the resource.
Home