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.