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-FileMenu Librarymenu_tnormal() AESSyntaxWORD menu_tnormal( tree, obj, flag )
OBJECT *tree;
WORD obj, flag;
Function menu_tnormal() highlights/un-highlights a menu-title.
Opcode 33 (0x21)
Availability All AESversions.
Parameters tree specifies the object tree of the menu. obj specifies
the object index of the title to change. flag should be set
to HIGHLIGHT (0) to display the title in reverse
(highlighted) or UNHIGHLIGHT (1) to display it normally.
Binding intin[0] = obj
intin[1] = flag
addrin[1] = tree
return crys_if(0x21);
Return Value menu_tnormal() returns 0 if an error occurred or non-zero
otherwise.
Comments This call is usually called by an application after
a MN_SELECTED message is received and processed to return
the menu title to normal.
Group Menu Library