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_settings() AESSyntaxWORD menu_settings( flag, set )
WORD flag;
MN_SET *set;
Function menu_settings() changes the global settings for popup and
scrollable menus.
Opcode 39 (0x27)
Availability This function is only available with AESversions 3.30 and
above.
Parameters If flag is MN_INQUIRE (0), current settings are read into
the MN_SET structure pointed to by set. If flag is
MN_CHANGE (1), current settings are set from the MN_SET structure pointed to by set.
MN_SET is defined as follows:
typedef struct
{
/* Submenu-display delay in milliseconds */
LONG display;
/* Submenu-drag delay in milliseconds */
LONG drag;
/* Single-click scroll delay in milliseconds*/
LONG delay;
/* Continuous-scroll delay in milliseconds */
LONG speed;
/* Menu scroll height (in items) */
WORD height;
} MN_SET;
Binding intin[0] = flag;
addrin[0] = set;
return crys_if(0x27);
Return Value menu_settings() always returns 1.
Comments The defaults set by menu_settings() are global and not
local to an application. You should therefore limit your
use of this function to system applications like CPX's and
so forth.
Group Menu Library