Help Center

IsMenufunction

Determines whether a handle is a menu handle.

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 IsMenu (BYVAL hMenu AS HMENU) AS BOOLEAN
Also documented as IsMenuHandle — one description covers them all.

Return value

Returns TRUE if the specified handle is a menu handle; FALSE otherwise.

Description

Determines whether a handle is a menu handle.

Example

DIM bRes AS BOOLEAN = CMenu.IsMenu(hMenu) DIM bRes AS BOOLEAN = CMenu.IsMenuHandle(hMenu)

Reference

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