IsMenu

The IsMenu function determines whether a handle is a menu handle.

BOOL IsMenu(
  HMENU hMenu  // handle to test
);
 

Parameters

hMenu
The handle to be tested.

Return Values

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

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

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in winuser.h.
  Import Library: Use user32.lib.

See Also

Menus Overview, Menu Functions