SetMenuOptionFlags Function

Sets a menu's option flags.

If a certain bit is not supported, it will be stripped before being set. See SetMenuExitButton() for information on Exit buttons. See SetMenuExitBackButton() for information on Exit Back buttons.

void SetMenuOptionFlags(Handle menu, int flags)


Handle menu

Menu Handle.

int flags

A new bitstring of MENUFLAG bits.


Invalid Handle.