Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-Fileobjc_change()Menu Librarymenu_ienable() AESSyntaxWORD menu_ienable( tree, obj, flag )
OBJECT *tree;
WORD obj, flag;
Function menu_ienable() enables/disables menu items.
Opcode 32 (0x20)
Availability All AESversions.
Parameters tree specifies the object tree of the menu to alter. obj is
the object index of the menu item to modify. flag should be
set to DISABLE (0) to disable the item or ENABLE (1) to
enable it.
Binding intin[0] = obj;
intin[1] = flag;
addrin[0] = tree;
return crys_if(0x20);
Return Value menu_icheck() returns 0 if an error occurred or non-zero
otherwise.
See Also objc_change()Group Menu Library