IsMenu

3.1

  BOOL IsMenu(hmenu)    
  HMENU hmenu; /* handle of menu, */  

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

Parameters

hmenu

Identifies the handle to be tested.

Return Value

The return value is zero if the handle is definitely not a menu handle. A nonzero return value does not guarantee that the handle is a menu handle, however; for nonzero return values, the application should conduct further tests to verify the handle.

Comments

An application should use this function only to ensure that a given handle is not a menu handle.

See Also

CreateMenu, CreatePopupMenu, DestroyMenu, GetMenu