IsMenu function

Determines whether a handle is a menu handle.

Syntax

BOOL IsMenu(
  HMENU hMenu
);

Parameters

hMenu

Type: HMENU

A handle to be tested.

Return Value

Type: BOOL

If the handle is a menu handle, the return value is nonzero.

If the handle is not a menu handle, the return value is zero.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winuser.h (include Windows.h)
Library User32.lib
DLL User32.dll

See Also

Menus