◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINMENUS HWND WinCreateMenu(hwndParent, pvmt) HWND hwndParent; /* handle of the parent window */ PVOID pvmt; /* address of the menu template */ The WinCreateMenu function creates a menu window from a menu template. The menu window is created with its parent and owner set to the hwndParent parameter. Parameter Description ──────────────────────────────────────────────────────────────────────────── hwndParent Identifies the owner and parent window which should be a frame window. pvmt Points to the menu template. The format of the pvmt parameter is the binary menu-template-resource format. Return Value The return value is the menu-window handle, or zero if an error occurred. See Also WinCreateWindow, WinLoadMenu ♦