•  Back 
  •  Menu Library 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
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 Library
menu_icheck()                                                           AES

Syntax

WORD menu_icheck( tree, obj, check )
OBJECT *tree;
WORD obj, check;

Function       menu_icheck() adds/removes a checkmark in front of a menu
               item.

Opcode         31 (0x1F)

Availability   All AES versions.

Parameters     tree specifies the object tree of the current menu. obj
               should be the object index of a menu item. If check is
               UNCHECK (0), no checkmark will be displayed next to this
               item whereas if check is CHECK (1), a checkmark will be
               displayed.

Binding        intin[0] = obj;
               intin[1] = check;

               addrin[0] = obj;

               return crys_if(0x1F);

Return Value   menu_icheck() returns 0 if an error occurred or non-zero
               otherwise.

See Also       objc_change()

Group          Menu Library