Help Center

Createfunction

Creates a new menu bar.

Windowsfunctiondoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION Create () AS HMENU

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. To get extended error information, call GetLastError.

Description

Creates a new menu bar.

Example

DIM hMenu AS HMENU = CMenu.Create

Reference

  • Documented in Windows/WIndows Controls/CMenu Class.md
  • Topic: About Menus