Help Center

IsMenuHandlefunction

Determines whether a handle is a menu handle.

Windowsfunctiondocumented

Syntax

FUNCTION IsMenuHandle (BYVAL hMenu AS HMENU) AS BOOLEAN
Also documented as IsMenu — 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

  • Defined in AfxNova/AfxMenu.inc:1157
  • Documented in Windows/WIndows Controls/CMenu Class.md
  • Topic: About Menus