IsMenu()

Syntax

Result = IsMenu(#Menu)
Description
Tests if the given menu is valid and correctly initialized.

Parameters

#Menu The menu to test.

Return value

Nonzero if the menu is valid, zero otherwise.

Remarks

This function is bulletproof and may be used with any value. This is the correct way to ensure a menu is ready to use.

See Also

CreateMenu(), CreatePopupMenu(), CreateImageMenu(), CreatePopupImageMenu()

Supported OS

All

<- HideMenu() - Menu Index - MenuBar() ->