Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

mt_gem.h File Reference

#include <compiler.h>

Go to the source code of this file.

Data Structures

struct  pEvntrec
struct  _mn_set
struct  SHELW
struct  XSHW_COMMAND
struct  THREADINFO
struct  SHELTAIL
struct  mouse_form
struct  point_coord
struct  graphic_rectangle
struct  objc_colorword
struct  text_edinfo
struct  icon_block
struct  bit_block
struct  cicon_data
struct  cicon_blk
struct  BFOBSPEC
union  obspecptr
struct  object
struct  parm_block
struct  user_block
struct  rshdr
struct  _menu
struct  MOBLK
struct  mouse_event_type
struct  EVMULT_IN
struct  EVMULT_OUT
struct  AESPB
struct  memory_form
struct  rgb_1000
struct  VDIPB

Defines

#define INT16   short
#define __GEMLIB_DEFS
#define __GEMLIB_AES
#define __GEMLIB_VDI
#define __GEMLIB__   __GEMLIB_MAJOR__
#define __GEMLIB_MAJOR__   0
#define __GEMLIB_MINOR__   43
#define __GEMLIB_REVISION__   3
#define __GEMLIB_BETATAG__   ""
#define MGEMLIB   42
#define __MGEMLIB__   42
#define NIL   0
#define DESKTOP_HANDLE   0
#define DESK   DESKTOP_HANDLE
#define APC_HIDE   10
#define APC_SHOW   11
#define APC_TOP   12
#define APC_HIDENOT   13
#define APC_INFO   14
#define APC_MENU   15
#define APC_WIDGETS   16
#define APCI_HIDDEN   0x01
#define APCI_HASMBAR   0x02
#define APCI_HASDESK   0x04
#define AES_LARGEFONT   0
#define AES_SMALLFONT   1
#define AES_SYSTEM   2
#define AES_LANGUAGE   3
#define AES_PROCESS   4
#define AES_PCGEM   5
#define AES_INQUIRE   6
#define AES_MOUSE   8
#define AES_MENU   9
#define AES_SHELL   10
#define AES_WINDOW   11
#define AES_MESSAGE   12
#define AES_OBJECT   13
#define AES_FORM   14
#define SYSTEM_FONT   0
#define OUTLINE_FONT   1
#define AESLANG_ENGLISH   0
#define AESLANG_GERMAN   1
#define AESLANG_FRENCH   2
#define AESLANG_SPANISH   4
#define AESLANG_ITALIAN   5
#define AESLANG_SWEDISH   6
#define APR_NOWAIT   -1
#define APP_FIRST   0
#define APP_NEXT   1
#define APP_DESK   2
#define APP_SYSTEM   0x01
#define APP_APPLICATION   0x02
#define APP_ACCESSORY   0x04
#define APP_SHELL   0x08
#define APPEVNT_TIMER   0
#define APPEVNT_BUTTON   1
#define APPEVNT_MOUSE   2
#define APPEVNT_KEYBOARD   3
#define LEFT_BUTTON   0x0001
#define RIGHT_BUTTON   0x0002
#define MIDDLE_BUTTON   0x0004
#define K_RSHIFT   0x0001
#define K_LSHIFT   0x0002
#define K_CTRL   0x0004
#define K_ALT   0x0008
#define EDC_INQUIRE   0
#define EDC_SET   1
#define MN_SELECTED   10
#define WM_REDRAW   20
#define WM_TOPPED   21
#define WM_CLOSED   22
#define WM_FULLED   23
#define WM_ARROWED   24
#define WM_HSLID   25
#define WM_VSLID   26
#define WM_SIZED   27
#define WM_MOVED   28
#define WM_NEWTOP   29
#define WM_UNTOPPED   30
#define WM_ONTOP   31
#define WM_BOTTOM   33
#define WM_BOTTOMED   WM_BOTTOM
#define WM_ICONIFY   34
#define WM_UNICONIFY   35
#define WM_ALLICONIFY   36
#define WM_TOOLBAR   37
#define AC_OPEN   40
#define AC_CLOSE   41
#define AP_TERM   50
#define AP_TFAIL   51
#define AP_RESCHG   57
#define CT_UPDATE   50
#define CT_MOVE   51
#define CT_NEWTOP   52
#define CT_KEY   53
#define SHUT_COMPLETED   60
#define RESCHG_COMPLETED   61
#define RESCH_COMPLETED   RESCHG_COMPLETED
#define AP_DRAGDROP   63
#define SH_WDRAW   72
#define SC_CHANGED   80
#define PRN_CHANGED   82
#define FNT_CHANGED   83
#define THR_EXIT   88
#define PA_EXIT   89
#define CH_EXIT   90
#define WM_M_BDROPPED   100 /* KAOS 1.4 */
#define SM_M_SPECIAL   101
#define SM_M_RES2   102
#define SM_M_RES3   103
#define SM_M_RES4   104
#define SM_M_RES5   105
#define SM_M_RES6   106
#define SM_M_RES7   107
#define SM_M_RES8   108
#define SM_M_RES9   109
#define WM_SHADED   22360
#define WM_UNSHADED   22361
#define SMC_TIDY_UP   0 /* MagiC 2 */
#define SMC_TERMINATE   1 /* MagiC 2 */
#define SMC_SWITCH   2 /* MagiC 2 */
#define SMC_FREEZE   3 /* MagiC 2 */
#define SMC_UNFREEZE   4 /* MagiC 2 */
#define SMC_RES5   5 /* MagiC 2 */
#define SMC_UNHIDEALL   6 /* MagiC 3.1 */
#define SMC_HIDEOTHERS   7 /* MagiC 3.1 */
#define SMC_HIDEACT   8 /* MagiC 3.1 */
#define MO_ENTER   0
#define MO_LEAVE   1
#define MU_KEYBD   0x0001
#define MU_BUTTON   0x0002
#define MU_M1   0x0004
#define MU_M2   0x0008
#define MU_MESAG   0x0010
#define MU_TIMER   0x0020
#define MU_WHEEL   0x0040
#define MU_MX   0x0080
#define MU_NORM_KEYBD   0x0100
#define MU_DYNAMIC_KEYBD   0x0200
#define FA_NOICON   "[0]"
#define FA_ERROR   "[1]"
#define FA_QUESTION   "[2]"
#define FA_STOP   "[3]"
#define FA_INFO   "[4]"
#define FA_DISK   "[5]"
#define FMD_START   0
#define FMD_GROW   1
#define FMD_SHRINK   2
#define FMD_FINISH   3
#define FERR_FILENOTFOUND   2
#define FERR_PATHNOTFOUND   3
#define FERR_NOHANDLES   4
#define FERR_ACCESSDENIED   5
#define FERR_LOWMEM   8
#define FERR_BADENVIRON   10
#define FERR_BADFORMAT   11
#define FERR_BADDRIVE   15
#define FERR_DELETEDIR   16
#define FERR_NOFILES   18
#define FSEL_CANCEL   0
#define FSEL_OK   1
#define ME_INQUIRE   0
#define ME_ATTACH   1
#define ME_REMOVE   2
#define SCROLL_NO   0
#define SCROLL_YES   1
#define MENU_INQUIRE   -1
#define MENU_REMOVE   0
#define MENU_INSTALL   1
#define MENU_GETMODE   3
#define MENU_SETMODE   4
#define MENU_UPDATE   5
#define MENU_INSTL   100
#define MENU_HIDDEN   0x0001
#define MENU_PULLDOWN   0x0002
#define MENU_SHADOWED   0x0004
#define UNCHECK   0
#define CHECK   1
#define DISABLE   0
#define ENABLE   1
#define MIS_GETALIGN   0
#define MIS_SETALIGN   1
#define SCROLL_LISTBOX   -1
#define REG_NEWNAME   -1
#define MN_INQUIRE   0
#define MN_CHANGE   1
#define HIGHLIGHT   0
#define UNHIGHLIGHT   1
#define SHEL_BUFSIZE   (-1)
#define SHP_HELP   0
#define SWM_LAUNCH   0
#define SWM_LAUNCHNOW   1
#define SWM_LAUNCHACC   3
#define SWM_SHUTDOWN   4
#define SWM_REZCHANGE   5
#define SWM_BROADCAST   7
#define SWM_ENVIRON   8
#define SWM_NEWMSG   9
#define SWM_AESMSG   10
#define SWM_THRCREATE   20
#define SWM_THREXIT   21
#define SWM_THRKILL   22
#define SHW_NOEXEC   SWM_LAUNCH
#define SHW_EXEC   SWM_LAUNCHNOW
#define SHW_EXEC_ACC   SWM_LAUNCHACC
#define SHW_SHUTDOWN   SWM_SHUTDOWN
#define SHW_RESCHNG   SWM_REZCHANGE
#define SHW_BROADCAST   SWM_BROADCAST
#define SHW_INFRECGN   SWM_NEWMSG
#define SHW_AESSEND   SWM_AESMSG
#define SHW_THR_CREATE   SWM_THRCREATE
#define SHW_THR_EXIT   SWM_THREXIT
#define SHW_THR_KILL   SWM_THRKILL
#define TOSAPP   0
#define GEMAPP   1
#define SHW_IMMED   0
#define SHW_CHAIN   1
#define SHW_DOS   2
#define SHW_PARALLEL   100
#define SHW_SINGLE   101
#define CL_NORMAL   0
#define CL_PARSE   1
#define SD_ABORT   0
#define SD_PARTIAL   1
#define SD_COMPLETE   2
#define ENVIRON_SIZE   0
#define ENVIRON_CHANGE   1
#define ENVIRON_COPY   2
#define NM_APTERM   0x0001
#define AP_AESTERM   52 /* Mode 10: N.AES komplett terminieren. */
#define SW_PSETLIMIT   0x0100
#define SW_PRENICE   0x0200
#define SW_DEFDIR   0x0400
#define SW_ENVIRON   0x0800
#define SW_UID   0x1000
#define SW_GID   0x2000
#define SHW_XMDFLAGS   0x1000
#define SHW_XMDLIMIT   SW_PSETLIMIT
#define SHW_XMDNICE   SW_PRENICE
#define SHW_XMDDEFDIR   SW_DEFDIR
#define SHW_XMDENV   SW_ENVIRON
#define R_TREE   0
#define R_OBJECT   1
#define R_TEDINFO   2
#define R_ICONBLK   3
#define R_BITBLK   4
#define R_STRING   5
#define R_IMAGEDATA   6
#define R_OBSPEC   7
#define R_TEPTEXT   8
#define R_TEPTMPLT   9
#define R_TEPVALID   10
#define R_IBPMASK   11
#define R_IBPDATA   12
#define R_IBPTEXT   13
#define R_BIPDATA   14
#define R_FRSTR   15
#define R_FRIMG   16
#define SCRAP_CSV   0x0001
#define SCRAP_TXT   0x0002
#define SCRAP_GEM   0x0004
#define SCRAP_IMG   0x0008
#define SCRAP_DCA   0x0010
#define SCRAP_DIF   0x0020
#define SCRAP_USR   0x8000
#define NAME   0x0001
#define CLOSER   0x0002
#define FULLER   0x0004
#define MOVER   0x0008
#define INFO   0x0010
#define SIZER   0x0020
#define UPARROW   0x0040
#define DNARROW   0x0080
#define VSLIDE   0x0100
#define LFARROW   0x0200
#define RTARROW   0x0400
#define HSLIDE   0x0800
#define HOTCLOSEBOX   0x1000
#define MENUBAR   0x1000
#define BACKDROP   0x2000
#define SMALLER   0x4000
#define ICONIFIER   SMALLER
#define WC_BORDER   0
#define WC_WORK   1
#define WF_KIND   1
#define WF_NAME   2
#define WF_INFO   3
#define WF_WORKXYWH   4
#define WF_CURRXYWH   5
#define WF_PREVXYWH   6
#define WF_FULLXYWH   7
#define WF_HSLIDE   8
#define WF_VSLIDE   9
#define WF_TOP   10
#define WF_FIRSTXYWH   11
#define WF_NEXTXYWH   12
#define WF_RESVD   13
#define WF_NEWDESK   14
#define WF_HSLSIZE   15
#define WF_VSLSIZE   16
#define WF_SCREEN   17
#define WF_COLOR   18
#define WF_DCOLOR   19
#define WF_OWNER   20
#define WF_BEVENT   24
#define WF_BOTTOM   25
#define WF_ICONIFY   26
#define WF_UNICONIFY   27
#define WF_UNICONIFYXYWH   28
#define WF_TOOLBAR   30
#define WF_FTOOLBAR   31
#define WF_NTOOLBAR   32
#define WF_MENU   33
#define WF_WHEEL   40
#define WF_M_BACKDROP   100
#define WF_M_OWNER   101
#define WF_M_WINDLIST   102
#define WF_MINXYWH   103
#define WF_INFOXYWH   104
#define WF_WIDGETS   200
#define WF_WINX   22360
#define WF_WINXCFG   22361
#define WF_SHADE   22365
#define WF_STACK   22366
#define WF_TOPALL   22367
#define WF_BOTTOMALL   22368
#define WF_XAAES   0x5841
#define BEVENT_WORK   0x0001
#define BEVENT_INFO   0x0002
#define W_BOX   0
#define W_TITLE   1
#define W_CLOSER   2
#define W_NAME   3
#define W_FULLER   4
#define W_INFO   5
#define W_DATA   6
#define W_WORK   7
#define W_SIZER   8
#define W_VBAR   9
#define W_UPARROW   10
#define W_DNARROW   11
#define W_VSLIDE   12
#define W_VELEV   13
#define W_HBAR   14
#define W_LFARROW   15
#define W_RTARROW   16
#define W_HSLIDE   17
#define W_HELEV   18
#define W_SMALLER   19
#define W_BOTTOMER   20
#define W_HIDER   30
#define WA_UPPAGE   0
#define WA_DNPAGE   1
#define WA_UPLINE   2
#define WA_DNLINE   3
#define WA_LFPAGE   4
#define WA_RTPAGE   5
#define WA_LFLINE   6
#define WA_RTLINE   7
#define WA_WHEEL   8
#define END_UPDATE   0
#define BEG_UPDATE   1
#define END_MCTRL   2
#define BEG_MCTRL   3
#define NO_BLOCK   0x100
#define ARROW   0
#define TEXT_CRSR   1
#define BEE   2
#define BUSY_BEE   BEE
#define BUSYBEE   BEE
#define HOURGLASS   2
#define POINT_HAND   3
#define FLAT_HAND   4
#define THIN_CROSS   5
#define THICK_CROSS   6
#define OUTLN_CROSS   7
#define USER_DEF   255
#define M_OFF   256
#define M_ON   257
#define M_SAVE   258
#define M_RESTORE   259
#define M_LAST   260
#define M_PREVIOUS   M_LAST
#define M_FORCE   0x8000
#define ROOT   0
#define MAX_LEN   81 /* max string length */
#define MAX_DEPTH   8 /* max depth of search or draw */
#define IP_HOLLOW   0
#define IP_1PATT   1
#define IP_2PATT   2
#define IP_3PATT   3
#define IP_4PATT   4
#define IP_5PATT   5
#define IP_6PATT   6
#define IP_SOLID   7
#define GDOS_PROP   0
#define GDOS_MONO   1
#define GDOS_BITM   2
#define IBM   3
#define SMALL   5
#define G_BOX   20
#define G_TEXT   21
#define G_BOXTEXT   22
#define G_IMAGE   23
#define G_USERDEF   24
#define G_PROGDEF   G_USERDEF
#define G_IBOX   25
#define G_BUTTON   26
#define G_BOXCHAR   27
#define G_STRING   28
#define G_FTEXT   29
#define G_FBOXTEXT   30
#define G_ICON   31
#define G_TITLE   32
#define G_CICON   33
#define G_SWBUTTON   34
#define G_POPUP   35
#define G_WINTITLE   36
#define G_EDIT   37
#define G_SHORTCUT   38
#define OF_NONE   0x0000
#define OF_SELECTABLE   0x0001
#define OF_DEFAULT   0x0002
#define OF_EXIT   0x0004
#define OF_EDITABLE   0x0008
#define OF_RBUTTON   0x0010
#define OF_LASTOB   0x0020
#define OF_TOUCHEXIT   0x0040
#define OF_HIDETREE   0x0080
#define OF_INDIRECT   0x0100
#define OF_FL3DIND   0x0200 /* bit 9 */
#define OF_FL3DBAK   0x0400 /* bit 10 */
#define OF_FL3DACT   0x0600
#define OF_SUBMENU   0x0800 /* bit 11 */
#define OF_FLAG11   OF_SUBMENU
#define OF_FLAG12   0x1000
#define OF_FLAG13   0x2000
#define OF_FLAG14   0x4000
#define OF_FLAG15   0x8000
#define OS_NORMAL   0x0000
#define OS_SELECTED   0x0001
#define OS_CROSSED   0x0002
#define OS_CHECKED   0x0004
#define OS_DISABLED   0x0008
#define OS_OUTLINED   0x0010
#define OS_SHADOWED   0x0020
#define OS_WHITEBAK   0x0040
#define OS_DRAW3D   0x0080
#define OS_STATE08   0x0100
#define OS_STATE09   0x0200
#define OS_STATE10   0x0400
#define OS_STATE11   0x0800
#define OS_STATE12   0x1000
#define OS_STATE13   0x2000
#define OS_STATE14   0x4000
#define OS_STATE15   0x8000
#define G_WHITE   0
#define G_BLACK   1
#define G_RED   2
#define G_GREEN   3
#define G_BLUE   4
#define G_CYAN   5
#define G_YELLOW   6
#define G_MAGENTA   7
#define G_LWHITE   8
#define G_LBLACK   9
#define G_LRED   10
#define G_LGREEN   11
#define G_LBLUE   12
#define G_LCYAN   13
#define G_LYELLOW   14
#define G_LMAGENTA   15
#define ED_START   0
#define ED_INIT   1
#define ED_CHAR   2
#define ED_END   3
#define EDSTART   ED_START
#define EDINIT   ED_INIT
#define EDCHAR   ED_CHAR
#define EDEND   ED_END
#define ED_CRSR   100
#define ED_DRAW   103
#define TE_LEFT   0
#define TE_RIGHT   1
#define TE_CNTR   2
#define NO_DRAW   0
#define REDRAW   1
#define OO_LAST   -1
#define OO_FIRST   0
#define SV_INQUIRE   0
#define SV_SET   1
#define LK3DIND   1
#define LK3DACT   2
#define INDBUTCOL   3
#define ACTBUTCOL   4
#define BACKGRCOL   5
#define AD3DVAL   6
#define MX_ENABLE3D   10
#define MENUCOL   11
#define __PXY
#define __GRECT
#define AES_CTRLMAX   5
#define AES_GLOBMAX   16
#define AES_INTINMAX   16
#define AES_INTOUTMAX   16
#define AES_ADDRINMAX   16
#define AES_ADDROUTMAX   16
#define mt_AESversion(aes_global)   (aes_global[0])
#define mt_AESnumapps(aes_global)   (aes_global[1])
#define mt_AESapid(aes_global)   (aes_global[2])
#define mt_AESappglobal(aes_global)   (*((long *)&aes_global[3]))
#define mt_AESrscfile(aes_global)   ((OBJECT **)(*((long *)&aes_global[5])))
#define mt_AESmaxchar(aes_global)   (aes_global[13])
#define mt_AESminchar(aes_global)   (aes_global[14])
#define MD_REPLACE   1
#define MD_TRANS   2
#define MD_XOR   3
#define MD_ERASE   4
#define ALL_WHITE   0
#define S_AND_D   1
#define S_AND_NOTD   2
#define S_ONLY   3
#define NOTS_AND_D   4
#define D_ONLY   5
#define S_XOR_D   6
#define S_OR_D   7
#define NOT_SORD   8
#define NOT_SXORD   9
#define D_INVERT   10
#define NOT_D   10
#define S_OR_NOTD   11
#define NOT_S   12
#define NOTS_OR_D   13
#define NOT_SANDD   14
#define ALL_BLACK   15
#define BEZ_BEZIER   0x01
#define BEZ_POLYLINE   0x00
#define BEZ_NODRAW   0x02
#define IMAGE_LEFT   0
#define IMAGE_CENTER   1
#define IMAGE_RIGHT   2
#define IMAGE_TOP   0
#define IMAGE_BOTTOM   2
#define NOJUSTIFY   0
#define JUSTIFY   1
#define COLOR_REQUESTED   0
#define COLOR_ACTUAL   1
#define GDOS_NONE   (-2L) /* no GDOS installed */
#define GDOS_FSM   0x5F46534DL /* '_FSM' */
#define GDOS_FNT   0x5F464E54L /* '_FNT' */
#define VINMODE_LOCATOR   1
#define VINMODE_VALUATOR   2
#define VINMODE_CHOICE   3
#define VINMODE_STRING   4
#define CACHE_CHAR   0
#define CACHE_MISC   1
#define DEV_MISSING   0
#define DEV_INSTALLED   1
#define BITMAP_FONT   0
#define FIS_HOLLOW   0
#define FIS_SOLID   1
#define FIS_PATTERN   2
#define FIS_HATCH   3
#define FIS_USER   4
#define PERIMETER_OFF   0
#define PERIMETER_ON   1
#define SQUARE   0
#define ARROWED   1
#define ROUND   2
#define LE_SQUARED   SQUARE
#define LE_ARROWED   ARROWED
#define LE_ROUNDED   ROUND
#define SOLID   1
#define LDASHED   2
#define DOTTED   3
#define DASHDOT   4
#define DASH   5
#define DASHDOTDOT   6
#define USERLINE   7
#define LT_SOLID   SOLID
#define LT_LONGDASH   LDASHED
#define LT_DOTTED   DOTTED
#define LT_DASHDOT   DASHDOT
#define LT_DASHED   DASH
#define LT_DASHDOTDOT   DASHDOTDOT
#define LT_USERDEF   USERLINE
#define LONGDASH   LDASHED
#define DOT   DOTTED
#define DASH2DOT   DASHDOTDOT
#define MRKR_DOT   1
#define MRKR_PLUS   2
#define MRKR_ASTERISK   3
#define MRKR_BOX   4
#define MRKR_CROSS   5
#define MRKR_DIAMOND   6
#define MT_DOT   MRKR_DOT
#define MT_PLUS   MRKR_PLUS
#define MT_ASTERISK   MRKR_ASTERISK
#define MT_SQUARE   MRKR_BOX
#define MT_DCROSS   MRKR_CROSS
#define MT_DIAMOND   MRKR_DIAMOND
#define TA_LEFT   0 /* horizontal */
#define TA_CENTER   1
#define TA_RIGHT   2
#define TA_BASE   0 /* vertical */
#define TA_HALF   1
#define TA_ASCENT   2
#define TA_BOTTOM   3
#define TA_DESCENT   4
#define TA_TOP   5
#define MAP_BITSTREAM   0
#define MAP_ATARI   1
#define MAP_UNICODE   2 /* for vst_map_mode, NVDI 4 */
#define TXT_NORMAL   0x0000
#define TXT_THICKENED   0x0001
#define TXT_LIGHT   0x0002
#define TXT_SKEWED   0x0004
#define TXT_UNDERLINED   0x0008
#define TXT_OUTLINED   0x0010
#define TXT_SHADOWED   0x0020
#define TF_NORMAL   TXT_NORMAL
#define TF_THICKENED   TXT_THICKENED
#define TF_LIGHTENED   TXT_LIGHT
#define TF_SLANTED   TXT_SKEWED
#define TF_UNDERLINED   TXT_UNDERLINED
#define TF_OUTLINED   TXT_OUTLINED
#define TF_SHADOWED   TXT_SHADOWED
#define APP_ERROR   0
#define SCREEN_ERROR   1
#define NO_ERROR   0
#define CHAR_NOT_FOUND   1
#define FILE_READERR   8
#define FILE_OPENERR   9
#define BAD_FORMAT   10
#define CACHE_FULL   11
#define MISC_ERROR   (-1)
#define TRACK_NONE   0
#define TRACK_NORMAL   1
#define TRACK_TIGHT   2
#define TRACK_VERYTIGHT   3
#define PAIR_OFF   0
#define PAIR_ON   1
#define SCRATCH_BOTH   0
#define SCRATCH_BITMAP   1
#define SCRATCH_NONE   2
#define SLM_OK   0x00
#define SLM_ERROR   0x02
#define SLM_NOTONER   0x03
#define SLM_NOPAPER   0x04
#define v_curaddress   vs_curaddress
#define VDI_CNTRLMAX   15
#define VDI_INTINMAX   1024
#define VDI_INTOUTMAX   256
#define VDI_PTSINMAX   256
#define VDI_PTSOUTMAX   256

Typedefs

typedef pEvntrec EVNTREC
typedef _mn_set MN_SET
typedef mouse_form MFORM
typedef point_coord PXY
typedef graphic_rectangle GRECT
typedef objc_colorword OBJC_COLORWORD
typedef text_edinfo TEDINFO
typedef icon_block ICONBLK
typedef bit_block BITBLK
typedef cicon_data CICON
typedef cicon_blk CICONBLK
typedef obspecptr OBSPEC
typedef object OBJECT
typedef parm_block PARMBLK
typedef user_block USERBLK
typedef rshdr RSHDR
typedef _menu MENU
typedef mouse_event_type MOUSE_EVENT
typedef void __CDECL(* FSEL_CALLBACK )(short *msg)
typedef memory_form MFDB
typedef rgb_1000 RGB1000
typedef short short

Functions

short mt_appl_bvset (short bvdisk, short bvhard, short *global_aes)
short mt_appl_control (short ap_cid, short ap_cwhat, void *ap_cout, short *global_aes)
short mt_appl_exit (short *global_aes)
short mt_appl_find (const char *name, short *global_aes)
short mt_appl_getinfo (short type, short *out1, short *out2, short *out3, short *out4, short *global_aes)
short mt_appl_init (short *global_aes)
short mt_appl_read (short ap_id, short length, void *ap_pbuff, short *global_aes)
short mt_appl_search (short mode, char *fname, short *type, short *ap_id, short *global_aes)
short mt_appl_tplay (void *mem, short num, short scale, short *global_aes)
short mt_appl_trecord (void *mem, short count, short *global_aes)
short mt_appl_write (short ap_id, short length, void *ap_pbuff, short *global_aes)
short mt_appl_yield (short *global_aes)
short mt_evnt_button (short Clicks, short WhichButton, short WhichState, short *Mx, short *My, short *ButtonState, short *KeyState, short *global_aes)
short mt_evnt_dclick (short ToSet, short SetGet, short *global_aes)
short mt_evnt_keybd (short *global_aes)
short mt_evnt_mesag (short MesagBuf[], short *global_aes)
short mt_evnt_mouse (short EnterExit, short InX, short InY, short InW, short InH, short *OutX, short *OutY, short *ButtonState, short *KeyState, short *global_aes)
short mt_evnt_multi (short Type, short Clicks, short WhichButton, short WhichState, short EnterExit1, short In1X, short In1Y, short In1W, short In1H, short EnterExit2, short In2X, short In2Y, short In2W, short In2H, short MesagBuf[], unsigned long Interval, short *OutX, short *OutY, short *ButtonState, short *KeyState, short *Key, short *ReturnCount, short *global_aes)
short mt_evnt_multi_fast (const EVMULT_IN *em_i, short MesagBuf[], EVMULT_OUT *em_o, short *global_aes)
short mt_evnt_timer (unsigned long Interval, short *global_aes)
short mt_form_alert (short DefButton, const char *Str, short *global_aes)
short mt_form_button (OBJECT *, short Bobject, short Bclicks, short *Bnxtobj, short *global_aes)
short mt_form_center (OBJECT *, short *Cx, short *Cy, short *Cw, short *Ch, short *global_aes)
short mt_form_center_grect (OBJECT *, GRECT *r, short *global_aes)
short mt_form_dial (short Flag, short Sx, short Sy, short Sw, short Sh, short Bx, short By, short Bw, short Bh, short *global_aes)
short mt_form_do (OBJECT *, short StartObj, short *global_aes)
short mt_form_error (short ErrorCode, short *global_aes)
short mt_form_keybd (OBJECT *, short Kobject, short Kobnext, short Kchar, short *Knxtobject, short *Knxtchar, short *global_aes)
short mt_fsel_exinput (char *path, char *file, short *exit_button, const char *title, short *global)
short mt_fsel_input (char *path, char *file, short *exit_button, short *global)
short mt_fsel_boxinput (char *path, char *file, short *exit_button, const char *title, FSEL_CALLBACK callback, short *global)
short mt_graf_dragbox (short Sw, short Sh, short Sx, short Sy, short Bx, short By, short Bw, short Bh, short *Fw, short *Fh, short *global_aes)
short mt_graf_growbox (short Sx, short Sy, short Sw, short Sh, short Fx, short Fy, short Fw, short Fh, short *global_aes)
short mt_graf_growbox_grect (const GRECT *in, const GRECT *out, short *global_aes)
short mt_graf_handle (short *Wchar, short *Hchar, short *Wbox, short *Hbox, short *global_aes)
short mt_graf_xhandle (short *Wchar, short *Hchar, short *Wbox, short *Hbox, short *device, short *global_aes)
short mt_graf_mbox (short Sw, short Sh, short Sx, short Sy, short Dx, short Dy, short *global_aes)
short mt_graf_mkstate (short *Mx, short *My, short *ButtonState, short *KeyState, short *global_aes)
short mt_graf_mouse (short Form, const MFORM *FormAddress, short *global_aes)
short mt_graf_rubberbox (short Ix, short Iy, short Iw, short Ih, short *Fw, short *Fh, short *global_aes)
short mt_graf_multirubber (short bx, short by, short mw, short mh, GRECT *rec, short *rw, short *rh, short *global_aes)
short mt_graf_shrinkbox (short Fx, short Fy, short Fw, short Fh, short Sx, short Sy, short Sw, short Sh, short *global_aes)
short mt_graf_shrinkbox_grect (const GRECT *in, const GRECT *out, short *global_aes)
short mt_graf_slidebox (OBJECT *, short Parent, short Object, short Direction, short *global_aes)
short mt_graf_watchbox (OBJECT *, short Object, short InState, short OutState, short *global_aes)
short mt_graf_wwatchbox (OBJECT *, short Object, short InState, short OutState, short whandle, short *global_aes)
short mt_menu_attach (short me_flag, OBJECT *me_tree, short me_item, MENU *me_mdata, short *global)
short mt_menu_bar (OBJECT *me_tree, short me_mode, short *global)
short mt_menu_click (short click, short setit, short *global)
short mt_menu_icheck (OBJECT *me_tree, short me_item, short me_check, short *global)
short mt_menu_ienable (OBJECT *me_tree, short me_item, short me_enable, short *global)
short mt_menu_istart (short me_flag, OBJECT *me_tree, short me_imenu, short me_item, short *global)
short mt_menu_popup (MENU *me_menu, short me_xpos, short me_ypos, MENU *me_mdata, short *global)
short mt_menu_register (short ap_id, char *me_text, short *global)
short mt_menu_settings (short me_flag, MN_SET *me_values, short *global)
short mt_menu_text (OBJECT *me_tree, short me_item, char *me_text, short *global)
short mt_menu_tnormal (OBJECT *me_tree, short me_item, short me_normal, short *global)
short mt_menu_unregister (short id, short *global)
short mt_objc_add (OBJECT *, short Parent, short Child, short *global)
short mt_objc_change (OBJECT *, short Object, short Res, short Cx, short Cy, short Cw, short Ch, short NewState, short Redraw, short *global_aes)
short mt_objc_delete (OBJECT *, short Object, short *global_aes)
short mt_objc_draw (OBJECT *, short Start, short Depth, short Cx, short Cy, short Cw, short Ch, short *global_aes)
short mt_objc_draw_grect (OBJECT *, short Start, short Depth, const GRECT *r, short *global_aes)
short mt_objc_edit (OBJECT *, short Object, short Char, short *Index, short Kind, short *global_aes)
short mt_objc_find (OBJECT *, short Start, short Depth, short Mx, short My, short *global_aes)
short mt_objc_xfind (OBJECT *, short Start, short Depth, short Mx, short My, short *global_aes)
short mt_objc_offset (OBJECT *, short Object, short *X, short *Y, short *global_aes)
short mt_objc_order (OBJECT *, short Object, short NewPos, short *global_aes)
short mt_objc_sysvar (short mode, short which, short in1, short in2, short *out1, short *out2, short *global_aes)
short mt_rsrc_free (short *global_aes)
short mt_rsrc_gaddr (short Type, short Index, void *Address, short *global_aes)
short mt_rsrc_load (const char *Name, short *global_aes)
short mt_rsrc_obfix (OBJECT *, short Index, short *global_aes)
short mt_rsrc_rcfix (void *rc_header, short *global_aes)
short mt_rsrc_saddr (short Type, short Index, void *Address, short *global_aes)
short mt_scrp_clear (short *global_aes)
short mt_scrp_read (char *Scrappath, short *global_aes)
short mt_scrp_write (const char *Scrappath, short *global_aes)
short mt_shel_envrn (char **result, const char *param, short *global_aes)
short mt_shel_find (char *buf, short *global_aes)
short mt_shel_get (char *Buf, short Len, short *global_aes)
short mt_shel_help (short sh_hmode, const char *sh_hfile, const char *sh_hkey, short *global_aes)
short mt_shel_put (const char *Buf, short Len, short *global_aes)
short mt_shel_rdef (char *lpcmd, char *lpdir, short *global_aes)
short mt_shel_read (char *Command, char *Tail, short *global_aes)
short mt_shel_wdef (const char *lpcmd, const char *lpdir, short *global_aes)
short mt_shel_write (short Exit, short Graphic, short Aes, void *Command, char *Tail, short *global_aes)
short mt_wind_calc (short Type, short Parts, short InX, short InY, short InW, short InH, short *OutX, short *OutY, short *OutW, short *OutH, short *global_aes)
short mt_wind_close (short WindowHandle, short *global_aes)
short mt_wind_create (short Parts, short Wx, short Wy, short Ww, short Wh, short *global_aes)
short mt_wind_delete (short WindowHandle, short *global_aes)
short mt_wind_draw (short WindowHandle, short startob, short *global_aes)
short mt_wind_find (short X, short Y, short *global_aes)
short mt_wind_get (short WindowHandle, short What, short *W1, short *W2, short *W3, short *W4, short *global_aes)
short mt_wind_new (short *global_aes)
short mt_wind_open (short WindowHandle, short Wx, short Wy, short Ww, short Wh, short *global_aes)
short mt_wind_set (short WindowHandle, short What, short W1, short W2, short W3, short W4, short *global_aes)
short mt_wind_update (short Code, short *global_aes)
short mt_wind_calc_grect (short Type, short Parts, const GRECT *In, GRECT *Out, short *global_aes)
short mt_wind_create_grect (short Parts, const GRECT *r, short *global_aes)
short mt_wind_get_grect (short WindowHandle, short What, GRECT *r, short *global_aes)
short mt_wind_open_grect (short WindowHandle, const GRECT *r, short *global_aes)
short mt_wind_set_grect (short WindowHandle, short What, const GRECT *r, short *global_aes)
short mt_wind_set_str (short WindowHandle, short What, const char *str, short *global_aes)
short rc_copy (const GRECT *src, GRECT *dst)
short rc_equal (const GRECT *r1, const GRECT *r2)
short rc_intersect (const GRECT *src, GRECT *dst)
GRECTarray_to_grect (const short *array, GRECT *area)
shortgrect_to_array (const GRECT *area, short *array)
void aes (AESPB *pb)
void vs_color (short, short color_idx, short rgb[])
short vswr_mode (short, short mode)
short vsf_color (short, short color_idx)
short vsf_interior (short, short style)
short vsf_perimeter (short, short vis)
short vsf_xperimeter (short, short vis, short style)
short vsf_style (short, short style)
void vsf_udpat (short, short pat[], short planes)
short vsl_color (short, short color_idx)
void vsl_ends (short, short begstyle, short endstyle)
short vsl_type (short, short style)
void vsl_udsty (short, short pat)
short vsl_width (short, short width)
short vsm_color (short, short color_idx)
short vsm_height (short, short height)
short vsm_type (short, short symbol)
void vst_alignment (short, short hin, short vin, short *hout, short *vout)
short vst_color (short, short color_idx)
short vst_effects (short, short effects)
void vst_error (short, short mode, short *errorvar)
short vst_font (short, short font)
void vst_height (short, short height, short *charw, short *charh, short *cellw, short *cellh)
short vst_point (short, short point, short *charw, short *charh, short *cellw, short *cellh)
short vst_rotation (short, short ang)
void vst_scratch (short, short mode)
void v_clrwk (short)
void v_clsvwk (short)
void v_clswk (short)
short v_flushcache (short)
short v_loadcache (short, const char *filename, short mode)
void v_opnvwk (short work_in[], short *, short work_out[])
void v_opnwk (short work_in[], short *, short work_out[])
short v_savecache (short, const char *filename)
void v_set_app_buff (short, void *buf_p, short size)
void v_updwk (short)
void vs_clip (short, short clip_flag, short pxy[])
void vs_clip_pxy (short, PXY pxy[])
void vs_clip_off (short)
short vst_load_fonts (short, short)
void vst_unload_fonts (short, short)
void v_bit_image (short, const char *filename, short aspect, short x_scale, short y_scale, short h_align, short v_align, short *pxy)
void v_clear_disp_list (short)
short v_copies (short, short count)
void v_dspcur (short, short x, short y)
void v_form_adv (short)
void v_hardcopy (short)
short v_orient (short, short orientation)
void v_output_window (short, short *pxy)
short v_page_size (short, short page_id)
void v_rmcur (short)
short v_trays (short, short input, short output, short *set_input, short *set_output)
short vq_calibrate (short, short *flag)
short vq_page_name (short, short page_id, char *page_name, long *page_width, long *page_height)
void vq_scan (short, short *g_slice, short *g_page, short *a_slice, short *a_page, short *div_fac)
short vq_tabstatus (short)
short vq_tray_names (short, char *input_name, char *output_name, short *input, short *output)
short vs_calibrate (short, short flag, short *rgb)
short vs_palette (short, short palette)
void v_sound (short, short freq, short duration)
short vs_mute (short, short action)
void vq_tdimensions (short, short *xdimension, short *ydimension)
void vt_alignment (short, short dx, short dy)
void vt_axis (short, short xres, short yres, short *xset, short *yset)
void vt_origin (short, short xorigin, short yorigin)
void vt_resolution (short, short xres, short yres, short *xset, short *yset)
void v_meta_extents (short, short min_x, short min_y, short max_x, short max_y)
void v_write_meta (short, short numvdi_intin, short *avdi_intin, short num_ptsin, short *a_ptsin)
void vm_coords (short, short llx, short lly, short urx, short ury)
void vm_filename (short, const char *filename)
void vm_pagesize (short, short pgwidth, short pgheight)
void vsc_expose (short, short state)
void vsp_film (short, short color_idx, short lightness)
short vqp_filmname (short, short _index, char *name)
void v_offset (short, short offset)
void v_fontinit (short, const void *font_header)
void v_escape2000 (short, short times)
void v_alpha_text (short, const char *str)
void v_curdown (short)
void v_curhome (short)
void v_curleft (short)
void v_curright (short)
void v_curtext (short, const char *str)
void v_curup (short)
void v_eeol (short)
void v_eeos (short)
void v_enter_cur (short)
void v_exit_cur (short)
void v_rvoff (short)
void v_rvon (short)
void vq_chcells (short, short *n_rows, short *n_cols)
void vq_curaddress (short, short *cur_row, short *cur_col)
void vs_curaddress (short, short row, short col)
void vq_cellarray (short, short pxy[], short row_len, short nrows, short *el_used, short *rows_used, short *status, short color[])
short vq_color (short, short color_idx, short flag, short rgb[])
void vq_extnd (short, short flag, short work_out[])
void vqf_attributes (short, short atrib[])
void vqin_mode (short, short dev, short *mode)
void vql_attributes (short, short atrib[])
void vqm_attributes (short, short atrib[])
void vqt_attributes (short, short atrib[])
void vqt_cachesize (short, short which_cache, long *size)
void vqt_extent (short, const char *str, short extent[])
void vqt_extent16 (short, const short *wstr, short extent[])
void vqt_extent16n (short, const short *wstr, short num, short extent[])
void vqt_fontinfo (short, short *minade, short *maxade, short distances[], short *maxwidth, short effects[])
void vqt_get_table (short, short **map)
short vqt_name (short, short element, char *name)
short vqt_width (short, short chr, short *cw, short *ldelta, short *rdelta)
short vq_gdos (void)
long vq_vgdos (void)
void v_hide_c (short)
void v_show_c (short, short reset)
void vex_butv (short, void *pusrcode, void **psavcode)
void vex_curv (short, void *pusrcode, void **psavcode)
void vex_motv (short, void *pusrcode, void **psavcode)
void vex_wheelv (short, void *pusrcode, void **psavcode)
void vex_timv (short, void *time_addr, void **otime_addr, short *time_conv)
void vq_key_s (short, short *state)
void vq_mouse (short, short *pstatus, short *x, short *y)
void vrq_choice (short, short cin, short *cout)
void vrq_locator (short, short x, short y, short *xout, short *yout, short *term)
void vrq_string (short, short len, short echo, short echoxy[], char *str)
void vrq_valuator (short, short in, short *out, short *term)
void vsc_form (short, short form[])
short vsin_mode (short, short dev, short mode)
short vsm_choice (short, short *choice)
short vsm_locator (short, short x, short y, short *xout, short *yout, short *term)
short vsm_string (short, short len, short echo, short echoxy[], char *str)
void vsm_valuator (short, short in, short *out, short *term, short *status)
void v_arc (short, short x, short y, short radius, short begang, short endang)
void v_bar (short, short pxy[])
void v_cellarray (short, short pxy[], short row_length, short elements, short nrows, short write_mode, short colarray[])
void v_circle (short, short x, short y, short radius)
void v_contourfill (short, short x, short y, short color_idx)
void v_ellarc (short, short x, short y, short xrad, short yrad, short begang, short endang)
void v_ellipse (short, short x, short y, short xrad, short yrad)
void v_ellpie (short, short x, short y, short xrad, short yrad, short begang, short endang)
void v_fillarea (short, short count, short pxy[])
void v_gtext (short, short x, short y, const char *str)
void v_gtext16 (short, short x, short y, const short *wstr)
void v_gtext16n (short, PXY pos, const short *wstr, short num)
void v_justified (short, short x, short y, const char *str, short len, short word_space, short char_space)
void v_pieslice (short, short x, short y, short radius, short begang, short endang)
void v_pline (short, short count, short pxy[])
void v_pmarker (short, short count, short pxy[])
void v_rbox (short, short pxy[])
void v_rfbox (short, short pxy[])
void vr_recfl (short, short pxy[])
void v_get_pixel (short, short x, short y, short *pel, short *color_idx)
void vr_trnfm (short, MFDB *src, MFDB *dst)
void vro_cpyfm (short, short mode, short pxy[], MFDB *src, MFDB *dst)
void vrt_cpyfm (short, short mode, short pxy[], MFDB *src, MFDB *dst, short color[])
void vdi_array2str (const short *src, char *des, short len)
short vdi_str2array (const char *src, short *des)
short vdi_wstrlen (const short *wstr)
void vdi (VDIPB *pb)


Detailed Description


Define Documentation

#define __GEMLIB__   __GEMLIB_MAJOR__
 

tell the world this is GEMLIB

#define __GEMLIB_AES
 

told the compiler to parse AES prototypes

#define __GEMLIB_BETATAG__   ""
 

BETATAG of gemlib

#define __GEMLIB_DEFS
 

told the compiler to parse both AES and VDI definitions

#define __GEMLIB_MAJOR__   0
 

MAJOR version number of gemlib

#define __GEMLIB_MINOR__   43
 

MINOR version number of gemlib

#define __GEMLIB_REVISION__   3
 

REVISION version number of gemlib

#define __GEMLIB_VDI
 

told the compiler to parse VDI prototypes

#define __GRECT
 

TODO

#define __MGEMLIB__   42
 

another identifier for MGEMLIB

#define __PXY
 

TODO

#define AC_CLOSE   41
 

message received by a desk accessory when the accessory should be closed.

  • msg[0] = AC_CLOSE
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = AES application ID of the accessory to close.
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

Do not close any windows your accessory had open, the system will do this for you. Also, do not require any feedback from the user when this is received. Treat this message as a 'Cancel' from the user.

#define AC_OPEN   40
 

message received when the user has selected a desk accessory to open

  • msg[0] = AC_OPEN
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] =
  • msg[4] = AES application ID of the accessory to open
  • msg[5] =
  • msg[6] =
  • msg[7] =

#define ACTBUTCOL   4
 

default color for activator objects, see mt_objc_sysvar()

#define AD3DVAL   6
 

number of extra pixels to accomodate 3D effects, see mt_objc_sysvar()

#define AES_FORM   14
 

see mt_appl_getinfo()

#define AES_INQUIRE   6
 

see mt_appl_getinfo()

#define AES_LANGUAGE   3
 

see mt_appl_getinfo()

#define AES_LARGEFONT   0
 

see mt_appl_getinfo()

#define AES_MENU   9
 

see mt_appl_getinfo()

#define AES_MESSAGE   12
 

see mt_appl_getinfo()

#define AES_MOUSE   8
 

see mt_appl_getinfo()

#define AES_OBJECT   13
 

see mt_appl_getinfo()

#define AES_PCGEM   5
 

see mt_appl_getinfo()

#define AES_PROCESS   4
 

see mt_appl_getinfo()

#define AES_SHELL   10
 

see mt_appl_getinfo()

#define AES_SMALLFONT   1
 

see mt_appl_getinfo()

#define AES_SYSTEM   2
 

see mt_appl_getinfo()

#define AES_WINDOW   11
 

see mt_appl_getinfo()

#define AESLANG_ENGLISH   0
 

see mt_appl_getinfo()

#define AESLANG_FRENCH   2
 

see mt_appl_getinfo()

#define AESLANG_GERMAN   1
 

see mt_appl_getinfo()

#define AESLANG_ITALIAN   5
 

see mt_appl_getinfo()

#define AESLANG_SPANISH   4
 

see mt_appl_getinfo()

#define AESLANG_SWEDISH   6
 

see mt_appl_getinfo()

#define ALL_BLACK   15
 

TODO

#define ALL_WHITE   0
 

TODO

#define AP_AESTERM   52 /* Mode 10: N.AES komplett terminieren. */
 

TODO

#define AP_DRAGDROP   63
 

message received when another apllication wishes to initiate a drag and drop session.

  • msg[0] = AP_DRAGDROP
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window which had an object dropped on, or -1 if no specific window was targeted
  • msg[4] = x
  • msg[5] = y position of the mouse when the object was dropped
  • msg[6] = keybord shift state at the time of the drop as in mt_evnt_keybd()
  • msg[7] = two bytes ASCII packed pipe identifier which gives the file extension of the pipe to open.

TODO: add more informations about drag 'n drop protocol...

#define AP_RESCHG   57
 

indicates a resolution change, see AP_TERM

#define AP_TERM   50
 

message received when the system requests that the application terminate.

  • msg[0] = AP_TERM
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] =
  • msg[4] =
  • msg[5] = reason for the shut down:
  • msg[6] =
  • msg[7] =

This message is usually the result of a resolution change, but it may laso occur if another application sends this message to gain total control of the system.

The application should shutdown immediately after closing windows, freeing resources, etc... If for some reason your application cannot shutdown, you must inform the AES by sending an AP_TFAIL message by using mt_shel_write() mode SWM_AESMSG.

Note: Desk accessory will always be sent AC_CLOSE message, not AP_TERM

Since:
AES version 4.0. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MENU.

#define AP_TFAIL   51
 

message sent to the system when the application has received an AP_TERM message and cannot shutdown.

  • msg[0] = AP_TFAIL
  • msg[1] = application error code
  • msg[2] = 0
  • msg[3] =
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

#define APC_HIDE   10
 

Hide application -- see mt_appl_control()

#define APC_HIDENOT   13
 

Hide all applications except the one referred to by ap_cid -- see mt_appl_control()

#define APC_INFO   14
 

Get the application parameter -- see mt_appl_control()

#define APC_MENU   15
 

The last used menu tree is returned -- see mt_appl_control()

#define APC_SHOW   11
 

Show application -- see mt_appl_control()

#define APC_TOP   12
 

Bring application to front -- see mt_appl_control()

#define APC_WIDGETS   16
 

Inquires or sets the 'default' positions of the window widgets -- see mt_appl_control()

#define APCI_HASDESK   0x04
 

the application has a own desk -- subopcode for APC_INFO

#define APCI_HASMBAR   0x02
 

the application has a menu bar -- subopcode for APC_INFO

#define APCI_HIDDEN   0x01
 

the application is hidden -- subopcode for APC_INFO

#define APP_ACCESSORY   0x04
 

see mt_appl_search()

#define APP_APPLICATION   0x02
 

see mt_appl_search()

#define APP_DESK   2
 

see mt_appl_search()

#define APP_ERROR   0
 

TODO

#define APP_FIRST   0
 

see mt_appl_search()

#define APP_NEXT   1
 

see mt_appl_search()

#define APP_SHELL   0x08
 

see mt_appl_search()

#define APP_SYSTEM   0x01
 

see mt_appl_search()

#define APPEVNT_BUTTON   1
 

see struct pEvntrec

#define APPEVNT_KEYBOARD   3
 

see struct pEvntrec

#define APPEVNT_MOUSE   2
 

see struct pEvntrec

#define APPEVNT_TIMER   0
 

see struct pEvntrec

#define APR_NOWAIT   -1
 

Do not wait for message -- see mt_appl_read()

#define ARROW   0
 

see mt_graf_mouse()

#define ARROWED   1
 

TODO

#define BACKDROP   0x2000
 

Window has a backdrop box

#define BACKGRCOL   5
 

default color for background objects, see mt_objc_sysvar()

#define BAD_FORMAT   10
 

TODO

#define BEE   2
 

see mt_graf_mouse()

#define BEG_MCTRL   3
 

mouse button message only sent to the application, see mt_wind_update()

#define BEG_UPDATE   1
 

lock the screen, see mt_wind_update()

#define BEVENT_INFO   0x0002
 

?????, see WF_BEVENT

#define BEVENT_WORK   0x0001
 

window not topped when click on the work area, see WF_BEVENT

#define BEZ_BEZIER   0x01
 

TODO

#define BEZ_NODRAW   0x02
 

TODO

#define BEZ_POLYLINE   0x00
 

TODO

#define BITMAP_FONT   0
 

TODO

#define BUSY_BEE   BEE
 

alias for BEE

#define BUSYBEE   BEE
 

alias for BEE

#define CACHE_CHAR   0
 

TODO

#define CACHE_FULL   11
 

TODO

#define CACHE_MISC   1
 

TODO

#define CH_EXIT   90
 

message received when a child process that this application has started returns.

  • msg[0] = CH_EXIT
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = child's application identifier
  • msg[4] = exit code of the child application
  • msg[5] =
  • msg[6] =
  • msg[7] =

Since:
AES version 4.0. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MENU.

#define CHAR_NOT_FOUND   1
 

TODO

#define CHECK   1
 

set a check mark of a menu item, see mt_menu_icheck()

#define CL_NORMAL   0
 

command line passed normaly, see mt_shel_write()

#define CL_PARSE   1
 

command line passed in ARGV environment string, see mt_shel_write()

#define CLOSER   0x0002
 

Window has a close box

#define COLOR_ACTUAL   1
 

TODO

#define COLOR_REQUESTED   0
 

TODO

#define CT_KEY   53
 

TODO

#define CT_MOVE   51
 

TODO

#define CT_NEWTOP   52
 

TODO

#define CT_UPDATE   50
 

TODO

#define D_INVERT   10
 

TODO

#define D_ONLY   5
 

TODO

#define DASH   5
 

TODO

#define DASH2DOT   DASHDOTDOT
 

TODO

#define DASHDOT   4
 

TODO

#define DASHDOTDOT   6
 

TODO

#define DESK   DESKTOP_HANDLE
 

TODO

#define DESKTOP_HANDLE   0
 

TODO

#define DEV_INSTALLED   1
 

TODO

#define DEV_MISSING   0
 

TODO

#define DISABLE   0
 

disable a menu item, see mt_menu_ienable()

#define DNARROW   0x0080
 

Window has a down arrow

#define DOT   DOTTED
 

TODO

#define DOTTED   3
 

TODO

#define ED_CHAR   2
 

insert a character in the editable field, see mt_objc_ecit()

#define ED_CRSR   100
 

TO BE COMPLETED (MagiC), see mt_objc_edit()

#define ED_DRAW   103
 

TO BE COMPLETED (MagiC), see mt_objc_edit()

#define ED_END   3
 

turn OFF the cursor, see mt_objc_edit()

#define ED_INIT   1
 

turn ON the cursor, see mt_objc_edit()

#define ED_START   0
 

Reserved. Do not use, see mt_objc_edit()

#define EDC_INQUIRE   0
 

inquire double-clic rate, see mt_evnt_dclick()

#define EDC_SET   1
 

set double-clic rate, see mt_evnt_dclick()

#define EDCHAR   ED_CHAR
 

alias

#define EDEND   ED_END
 

alias

#define EDINIT   ED_INIT
 

alias

#define EDSTART   ED_START
 

alias

#define ENABLE   1
 

enable a menu item, see mt_menu_ienable()

#define END_MCTRL   2
 

release the mouse control to the AES, see mt_wind_update()

#define END_UPDATE   0
 

release the screen lock, see mt_wind_update()

#define ENVIRON_CHANGE   1
 

modify an environment variable, see mt_shel_write()

#define ENVIRON_COPY   2
 

copy the evironment string in a buffer, see mt_shel_write()

#define ENVIRON_SIZE   0
 

returns the current size of the environment string, see mt_shel_write()

#define FA_DISK   "[5]"
 

display Disk icon, see mt_form_alert()

#define FA_ERROR   "[1]"
 

display Exclamation icon, see mt_form_alert()

#define FA_INFO   "[4]"
 

display Info icon, see mt_form_alert()

#define FA_NOICON   "[0]"
 

display no icon, see mt_form_alert()

#define FA_QUESTION   "[2]"
 

display Question icon, see mt_form_alert()

#define FA_STOP   "[3]"
 

display Stop icon, see mt_form_alert()

#define FERR_ACCESSDENIED   5
 

Access Denied (GEMDOS error -36), see mt_form_error()

#define FERR_BADDRIVE   15
 

Invalid Drive Specification (GEMDOS error -46), see mt_form_error()

#define FERR_BADENVIRON   10
 

Invalid Environment (GEMDOS error -41), see mt_form_error()

#define FERR_BADFORMAT   11
 

Invalid Format (GEMDOS error -42)

#define FERR_DELETEDIR   16
 

Attempt To Delete Working Directory (GEMDOS error -47), see mt_form_error()

#define FERR_FILENOTFOUND   2
 

File Not Found (GEMDOS error -33), see mt_form_error()

#define FERR_LOWMEM   8
 

Insufficient Memory (GEMDOS error -39), see mt_form_error()

#define FERR_NOFILES   18
 

No More Files (GEMDOS error -49), see mt_form_error()

#define FERR_NOHANDLES   4
 

No More File Handles (GEMDOS error -35), see mt_form_error()

#define FERR_PATHNOTFOUND   3
 

Path Not Found (GEMDOS error -34), see mt_form_error()

#define FILE_OPENERR   9
 

TODO

#define FILE_READERR   8
 

TODO

#define FIS_HATCH   3
 

TODO

#define FIS_HOLLOW   0
 

TODO

#define FIS_PATTERN   2
 

TODO

#define FIS_SOLID   1
 

TODO

#define FIS_USER   4
 

TODO

#define FLAT_HAND   4
 

see mt_graf_mouse()

#define FMD_FINISH   3
 

releases the screen space for a dialog, see mt_form_dial()

#define FMD_GROW   1
 

draws an expanding box, see mt_form_dial()

#define FMD_SHRINK   2
 

draws a shrinking box, see mt_form_dial()

#define FMD_START   0
 

reserves the screen space for a dialog, see mt_form_dial()

#define FNT_CHANGED   83
 

TODO

#define FSEL_CANCEL   0
 

the fileselector has been closed by using the CANCEL button, see mt_fsel_exinput()

#define FSEL_OK   1
 

the fileselector has been closed by using the OK button, see mt_fsel_exinput()

#define FULLER   0x0004
 

Window has a fuller box

#define G_BLACK   1
 

TODO

#define G_BLUE   4
 

TODO

#define G_BOX   20
 

TODO

#define G_BOXCHAR   27
 

TODO

#define G_BOXTEXT   22
 

TODO

#define G_BUTTON   26
 

TODO

#define G_CICON   33
 

TODO

#define G_CYAN   5
 

TODO

#define G_EDIT   37
 

TODO

#define G_FBOXTEXT   30
 

TODO

#define G_FTEXT   29
 

TODO

#define G_GREEN   3
 

TODO

#define G_IBOX   25
 

TODO

#define G_ICON   31
 

TODO

#define G_IMAGE   23
 

TODO

#define G_LBLACK   9
 

TODO

#define G_LBLUE   12
 

TODO

#define G_LCYAN   13
 

TODO

#define G_LGREEN   11
 

TODO

#define G_LMAGENTA   15
 

TODO

#define G_LRED   10
 

TODO

#define G_LWHITE   8
 

TODO

#define G_LYELLOW   14
 

TODO

#define G_MAGENTA   7
 

TODO

#define G_POPUP   35
 

TODO

#define G_PROGDEF   G_USERDEF
 

TODO

#define G_RED   2
 

TODO

#define G_SHORTCUT   38
 

TODO

#define G_STRING   28
 

TODO

#define G_SWBUTTON   34
 

TODO

#define G_TEXT   21
 

TODO

#define G_TITLE   32
 

TODO

#define G_USERDEF   24
 

TODO

#define G_WHITE   0
 

TODO

#define G_WINTITLE   36
 

TODO

#define G_YELLOW   6
 

TODO

#define GDOS_BITM   2
 

TODO

#define GDOS_FNT   0x5F464E54L /* '_FNT' */
 

TODO

#define GDOS_FSM   0x5F46534DL /* '_FSM' */
 

TODO

#define GDOS_MONO   1
 

TODO

#define GDOS_NONE   (-2L) /* no GDOS installed */
 

TODO

#define GDOS_PROP   0
 

TODO

#define GEMAPP   1
 

application launched as GEM application, see mt_shel_write()

#define HIGHLIGHT   0
 

display the title in reverse mode, see mt_menu_tnormal()

#define HOTCLOSEBOX   0x1000
 

Window has "hot close box" box (GEM 2.x)

#define HOURGLASS   2
 

see mt_graf_mouse()

#define HSLIDE   0x0800
 

Window has a horizontal slider

#define IBM   3
 

TODO

#define ICONIFIER   SMALLER
 

Window has an iconifier

#define IMAGE_BOTTOM   2
 

TODO

#define IMAGE_CENTER   1
 

TODO

#define IMAGE_LEFT   0
 

TODO

#define IMAGE_RIGHT   2
 

TODO

#define IMAGE_TOP   0
 

TODO

#define INDBUTCOL   3
 

default color for indicator objects, see mt_objc_sysvar()

#define INFO   0x0010
 

Window has an information line

#define INT16   short
 

16 bits signed integer

#define IP_1PATT   1
 

TODO

#define IP_2PATT   2
 

TODO

#define IP_3PATT   3
 

TODO

#define IP_4PATT   4
 

TODO

#define IP_5PATT   5
 

TODO

#define IP_6PATT   6
 

TODO

#define IP_HOLLOW   0
 

TODO

#define IP_SOLID   7
 

TODO

#define JUSTIFY   1
 

TODO

#define K_ALT   0x0008
 

mask for alternate key, see mt_evnt_button()

#define K_CTRL   0x0004
 

mask for control key, see mt_evnt_button()

#define K_LSHIFT   0x0002
 

mask for left shift key, see mt_evnt_button()

#define K_RSHIFT   0x0001
 

mask for right shift key, see mt_evnt_button()

#define LDASHED   2
 

TODO

#define LE_ARROWED   ARROWED
 

TODO

#define LE_ROUNDED   ROUND
 

TODO

#define LE_SQUARED   SQUARE
 

TODO

#define LEFT_BUTTON   0x0001
 

mask for left mouse button, see mt_evnt_button()

#define LFARROW   0x0200
 

Window has a left arrow

#define LK3DACT   2
 

text of activator object moves when selected, see mt_objc_sysvar()

#define LK3DIND   1
 

text of indicator object moves when selected, see mt_objc_sysvar()

#define LONGDASH   LDASHED
 

TODO

#define LT_DASHDOT   DASHDOT
 

TODO

#define LT_DASHDOTDOT   DASHDOTDOT
 

TODO

#define LT_DASHED   DASH
 

TODO

#define LT_DOTTED   DOTTED
 

TODO

#define LT_LONGDASH   LDASHED
 

TODO

#define LT_SOLID   SOLID
 

TODO

#define LT_USERDEF   USERLINE
 

TODO

#define M_FORCE   0x8000
 

see mt_graf_mouse()

#define M_LAST   260
 

see mt_graf_mouse()

#define M_OFF   256
 

see mt_graf_mouse()

#define M_ON   257
 

see mt_graf_mouse()

#define M_PREVIOUS   M_LAST
 

alias for M_LAST

#define M_RESTORE   259
 

see mt_graf_mouse()

#define M_SAVE   258
 

see mt_graf_mouse()

#define MAP_ATARI   1
 

TODO

#define MAP_BITSTREAM   0
 

TODO

#define MAP_UNICODE   2 /* for vst_map_mode, NVDI 4 */
 

TODO

#define MAX_DEPTH   8 /* max depth of search or draw */
 

TODO

#define MAX_LEN   81 /* max string length */
 

TODO

#define MD_ERASE   4
 

TODO

#define MD_REPLACE   1
 

TODO

#define MD_TRANS   2
 

TODO

#define MD_XOR   3
 

TODO

#define ME_ATTACH   1
 

attach or change a sub-menu, see mt_menu_attach()

#define ME_INQUIRE   0
 

inquire information on a sub-menu attached, see mt_menu_attach()

#define ME_REMOVE   2
 

remove a sub-menu. see mt_menu_attach()

#define MENU_GETMODE   3
 

Get the menu bar mode, see mt_menu_bar()

#define MENU_HIDDEN   0x0001
 

menu bar only visible when needed, see MENU_GETMODE or MENU_SETMODE

#define MENU_INQUIRE   -1
 

inquire the AES application ID of the process which own the displayed menu, see mt_menu_bar()

#define MENU_INSTALL   1
 

install a menu bar, see mt_menu_bar()

#define MENU_INSTL   100
 

Install a menu without switching the top application (Magic), see mt_menu_bar()

#define MENU_PULLDOWN   0x0002
 

Pulldown-Menus, see MENU_GETMODE or MENU_SETMODE

#define MENU_REMOVE   0
 

remove a menu bar, see mt_menu_bar()

#define MENU_SETMODE   4
 

Set the menu bar mode, see mt_menu_bar()

#define MENU_SHADOWED   0x0004
 

menu bar with shadows, see MENU_GETMODE or MENU_SETMODE

#define MENU_UPDATE   5
 

Update the system part of the menu bar, see mt_menu_bar()

#define MENUBAR   0x1000
 

Window has a menu bar (XaAES)

#define MENUCOL   11
 

TO BE COMPLETED (MagiC 6), see mt_objc_sysvar()

#define MGEMLIB   42
 

this gemlib is compatible with MGEMLIB

#define MIDDLE_BUTTON   0x0004
 

mask for middle mouse button, see mt_evnt_button()

#define MIS_GETALIGN   0
 

get the alignment of a parent menu item with a sub-menu item, see mt_menu_istart()

#define MIS_SETALIGN   1
 

set the alignment of a parent menu item with a sub-menu item, see mt_menu_istart()

#define MISC_ERROR   (-1)
 

TODO

#define MN_CHANGE   1
 

set the menu settings, see mt_menu_settings()

#define MN_INQUIRE   0
 

inquire the current menu settings, see mt_menu_settings()

#define MN_SELECTED   10
 

message received when a menu entry has been selected

  • msg[0] = MN_SELECTED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = title menu index
  • msg[4] = item menu index
  • msg[5] = address of the menu root object (most significant bits)
  • msg[6] = address of the menu root object (less significant bits)
  • msg[7] = index of object parent's selected item

Values of word 5, 6 and 7 are an extension of AES 3.3. This feature could be check by calling mt_appl_getinfo() with the parameter AES_MENU.

#define MO_ENTER   0
 

Wait for mouse to enter rectangle, see mt_evnt_mouse()

#define MO_LEAVE   1
 

Wait for mouse to leave rectangle, see mt_evnt_mouse()

#define MOVER   0x0008
 

Window may be moved by the user

#define MRKR_ASTERISK   3
 

TODO

#define MRKR_BOX   4
 

TODO

#define MRKR_CROSS   5
 

TODO

#define MRKR_DIAMOND   6
 

TODO

#define MRKR_DOT   1
 

TODO

#define MRKR_PLUS   2
 

TODO

#define MT_ASTERISK   MRKR_ASTERISK
 

TODO

#define MT_DCROSS   MRKR_CROSS
 

TODO

#define MT_DIAMOND   MRKR_DIAMOND
 

TODO

#define MT_DOT   MRKR_DOT
 

TODO

#define MT_PLUS   MRKR_PLUS
 

TODO

#define MT_SQUARE   MRKR_BOX
 

TODO

#define MU_BUTTON   0x0002
 

Wait for the specified mouse button state, see mt_evnt_multi()

#define MU_DYNAMIC_KEYBD   0x0200
 

TODO (XaAES)

#define MU_KEYBD   0x0001
 

Wait for a user keypress, see mt_evnt_multi()

#define MU_M1   0x0004
 

Wait for a mouse/rectangle event as specified, see mt_evnt_multi()

#define MU_M2   0x0008
 

Wait for a mouse/rectangle event as specified, see mt_evnt_multi()

#define MU_MESAG   0x0010
 

Wait for a message, see mt_evnt_multi()

#define MU_MX   0x0080
 

TODO (XaAES)

#define MU_NORM_KEYBD   0x0100
 

TODO (XaAES)

#define MU_TIMER   0x0020
 

Wait the specified amount of time, see mt_evnt_multi()

#define MU_WHEEL   0x0040
 

TODO (XaAES)

#define MX_ENABLE3D   10
 

enable or disable the 3D look (MagiC 3), see mt_objc_sysvar()

#define NAME   0x0001
 

Window has a title bar

#define NIL   0
 

TODO

#define NM_APTERM   0x0001
 

the application understands AP_TERM messages, see SWM_NEWMSG

#define NO_BLOCK   0x100
 

prevent the application from blocking, see mt_wind_update()

#define NO_DRAW   0
 

object will not be redrawn, see mt_objc_change()

#define NO_ERROR   0
 

TODO

#define NOJUSTIFY   0
 

TODO

#define NOT_D   10
 

TODO

#define NOT_S   12
 

TODO

#define NOT_SANDD   14
 

TODO

#define NOT_SORD   8
 

TODO

#define NOT_SXORD   9
 

TODO

#define NOTS_AND_D   4
 

TODO

#define NOTS_OR_D   13
 

TODO

#define OF_DEFAULT   0x0002
 

TODO

#define OF_EDITABLE   0x0008
 

TODO

#define OF_EXIT   0x0004
 

TODO

#define OF_FL3DACT   0x0600
 

TODO

#define OF_FL3DBAK   0x0400 /* bit 10 */
 

TODO

#define OF_FL3DIND   0x0200 /* bit 9 */
 

TODO

#define OF_FLAG11   OF_SUBMENU
 

TODO

#define OF_FLAG12   0x1000
 

TODO

#define OF_FLAG13   0x2000
 

TODO

#define OF_FLAG14   0x4000
 

TODO

#define OF_FLAG15   0x8000
 

TODO

#define OF_HIDETREE   0x0080
 

TODO

#define OF_INDIRECT   0x0100
 

TODO

#define OF_LASTOB   0x0020
 

TODO

#define OF_NONE   0x0000
 

TODO

#define OF_RBUTTON   0x0010
 

TODO

#define OF_SELECTABLE   0x0001
 

TODO

#define OF_SUBMENU   0x0800 /* bit 11 */
 

TODO

#define OF_TOUCHEXIT   0x0040
 

TODO

#define OO_FIRST   0
 

make object the first child, see mt_objc_order()

#define OO_LAST   -1
 

make object the last child, see mt_objc_order()

#define OS_CHECKED   0x0004
 

TODO

#define OS_CROSSED   0x0002
 

TODO

#define OS_DISABLED   0x0008
 

TODO

#define OS_DRAW3D   0x0080
 

TODO

#define OS_NORMAL   0x0000
 

TODO

#define OS_OUTLINED   0x0010
 

TODO

#define OS_SELECTED   0x0001
 

TODO

#define OS_SHADOWED   0x0020
 

TODO

#define OS_STATE08   0x0100
 

TODO

#define OS_STATE09   0x0200
 

TODO

#define OS_STATE10   0x0400
 

TODO

#define OS_STATE11   0x0800
 

TODO

#define OS_STATE12   0x1000
 

TODO

#define OS_STATE13   0x2000
 

TODO

#define OS_STATE14   0x4000
 

TODO

#define OS_STATE15   0x8000
 

TODO

#define OS_WHITEBAK   0x0040
 

TODO

#define OUTLINE_FONT   1
 

see mt_appl_getinfo()

#define OUTLN_CROSS   7
 

see mt_graf_mouse()

#define PA_EXIT   89
 

TODO

#define PAIR_OFF   0
 

TODO

#define PAIR_ON   1
 

TODO

#define PERIMETER_OFF   0
 

TODO

#define PERIMETER_ON   1
 

TODO

#define POINT_HAND   3
 

see mt_graf_mouse()

#define PRN_CHANGED   82
 

TODO

#define R_BIPDATA   14
 

bi_pdata within BITBLKs, see mt_rsrc_gaddr()

#define R_BITBLK   4
 

BITBLK structure, see mt_rsrc_gaddr()

#define R_FRIMG   16
 

Free image, see mt_rsrc_gaddr()

#define R_FRSTR   15
 

Free string, see mt_rsrc_gaddr()

#define R_IBPDATA   12
 

ib_pdata within ICONBLKs, see mt_rsrc_gaddr()

#define R_IBPMASK   11
 

ib_pmask within ICONBLKs, see mt_rsrc_gaddr()

#define R_IBPTEXT   13
 

ib_ptext within ICONBLKs, see mt_rsrc_gaddr()

#define R_ICONBLK   3
 

ICONBLK structure, see mt_rsrc_gaddr()

#define R_IMAGEDATA   6
 

Free Image data, see mt_rsrc_gaddr()

#define R_OBJECT   1
 

Individual object, see mt_rsrc_gaddr()

#define R_OBSPEC   7
 

ob_spec field within OBJECTs, see mt_rsrc_gaddr()

#define R_STRING   5
 

Free String data, see mt_rsrc_gaddr()

#define R_TEDINFO   2
 

TEDINFO structure, see mt_rsrc_gaddr()

#define R_TEPTEXT   8
 

te_ptext within TEDINFOs, see mt_rsrc_gaddr()

#define R_TEPTMPLT   9
 

te_ptmplt within TEDINFOs, see mt_rsrc_gaddr()

#define R_TEPVALID   10
 

te_pvalid within TEDINFOs, see mt_rsrc_gaddr()

#define R_TREE   0
 

Object tree, see mt_rsrc_gaddr()

#define REDRAW   1
 

object will be redrawn, see mt_objc_change()

#define REG_NEWNAME   -1
 

register your application with a new name, see mt_menu_register()

#define RESCH_COMPLETED   RESCHG_COMPLETED
 

see RESCHG_COMPLETED

#define RESCHG_COMPLETED   61
 

message received by the application which requested a resolution change, when the resolution change is complete.

  • msg[0] = SHUT_COMPLETED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = indicate the success of the resolution change:
    • 1 if the resolution change was succesful
    • 0 if an error occured.
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

Since:
AES version 4.0. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MENU.

#define RIGHT_BUTTON   0x0002
 

mask for right mouse button, see mt_evnt_button()

#define ROOT   0
 

index of the root object of a formular

#define ROUND   2
 

TODO

#define RTARROW   0x0400
 

Window has a right arrow

#define S_AND_D   1
 

TODO

#define S_AND_NOTD   2
 

TODO

#define S_ONLY   3
 

TODO

#define S_OR_D   7
 

TODO

#define S_OR_NOTD   11
 

TODO

#define S_XOR_D   6
 

TODO

#define SC_CHANGED   80
 

TODO

#define SCRAP_CSV   0x0001
 

clipboard has a scrap.csv file, see mt_scrap_read()

#define SCRAP_DCA   0x0010
 

clipboard has a scrap.dca file, see mt_scrap_read()

#define SCRAP_DIF   0x0020
 

clipboard has a scrap.dif file, see mt_scrap_read()

#define SCRAP_GEM   0x0004
 

clipboard has a scrap.gem file, see mt_scrap_read()

#define SCRAP_IMG   0x0008
 

clipboard has a scrap.img file, see mt_scrap_read()

#define SCRAP_TXT   0x0002
 

clipboard has a scrap.txt file, see mt_scrap_read()

#define SCRAP_USR   0x8000
 

clipboard has a scrap.usr file, see mt_scrap_read()

#define SCRATCH_BITMAP   1
 

TODO

#define SCRATCH_BOTH   0
 

TODO

#define SCRATCH_NONE   2
 

TODO

#define SCREEN_ERROR   1
 

TODO

#define SCROLL_LISTBOX   -1
 

display a drop-down list (with slider) instead of popup menu, see MENU::mn_scroll

#define SCROLL_NO   0
 

the menu will not scroll, see MENU::mn_scroll structure

#define SCROLL_YES   1
 

menu may scroll if it is too high, see MENU::mn_scroll structure

#define SD_ABORT   0
 

Abort shutdown mode, see mt_shel_write()

#define SD_COMPLETE   2
 

Complete shutdown mode, see mt_shel_write()

#define SD_PARTIAL   1
 

Partial shutdown mode, see mt_shel_write()

#define SH_WDRAW   72
 

message sent to the desktop to ask it to update an open drive window.

  • msg[0] = SH_WDRAW
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = drive number to update (0=A, 1=B, etc...) or -1 to update all windows
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

#define SHEL_BUFSIZE   (-1)
 

return the size of AES shell buffer, see mt_shel_read()

#define SHP_HELP   0
 

see mt_shel_help()

#define SHUT_COMPLETED   60
 

message received by the application which requested a shutdown, when the shutdown is complete and was successful.

  • msg[0] = SHUT_COMPLETED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] =
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

Since:
AES version 4.0. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MENU.

#define SHW_AESSEND   SWM_AESMSG
 

alias

#define SHW_BROADCAST   SWM_BROADCAST
 

alias

#define SHW_CHAIN   1
 

TOS way, see mt_shel_write()

#define SHW_DOS   2
 

unsupported (PC-GEM 2.x)

#define SHW_EXEC   SWM_LAUNCHNOW
 

alias

#define SHW_EXEC_ACC   SWM_LAUNCHACC
 

alias

#define SHW_IMMED   0
 

unsupported (PC-GEM 2.x)

#define SHW_INFRECGN   SWM_NEWMSG
 

alias

#define SHW_NOEXEC   SWM_LAUNCH
 

alias

#define SHW_PARALLEL   100
 

create a new application to be ran in parallel, see mt_shel_write()

#define SHW_RESCHNG   SWM_REZCHANGE
 

alias

#define SHW_SHUTDOWN   SWM_SHUTDOWN
 

alias

#define SHW_SINGLE   101
 

run an application in single mode (all other applications but apid 0 and 1 are frozen), see mt_shel_write()

#define SHW_THR_CREATE   SWM_THRCREATE
 

alias

#define SHW_THR_EXIT   SWM_THREXIT
 

alias

#define SHW_THR_KILL   SWM_THRKILL
 

alias

#define SHW_XMDDEFDIR   SW_DEFDIR
 

alias

#define SHW_XMDENV   SW_ENVIRON
 

alias

#define SHW_XMDFLAGS   0x1000
 

magiC 6 extension, see XSHW_COMMAND::flags

#define SHW_XMDLIMIT   SW_PSETLIMIT
 

alias

#define SHW_XMDNICE   SW_PRENICE
 

alias

#define SIZER   0x0020
 

Window has a sizer box

#define SLM_ERROR   0x02
 

TODO

#define SLM_NOPAPER   0x04
 

TODO

#define SLM_NOTONER   0x03
 

TODO

#define SLM_OK   0x00
 

TODO

#define SM_M_RES2   102
 

MAG!X screen manager extension

#define SM_M_RES3   103
 

MAG!X screen manager extension

#define SM_M_RES4   104
 

MAG!X screen manager extension

#define SM_M_RES5   105
 

MAG!X screen manager extension

#define SM_M_RES6   106
 

MAG!X screen manager extension

#define SM_M_RES7   107
 

MAG!X screen manager extension

#define SM_M_RES8   108
 

MAG!X screen manager extension

#define SM_M_RES9   109
 

MAG!X screen manager extension

#define SM_M_SPECIAL   101
 

MAG!X screen manager extension

Applications may send such message to the MagiC Screen Manager (SCREENMGR, application ID = 1) to control AES applications. The message is [SM_M_SPECIAL apid 0 0 'MA' 'GX' SMC_XXX 0] where SMC_XXX contains the action SCREENMGR has to perform.

SMC_XXX may be one of the following value:

See also:
mt_appl_control()

#define SMALL   5
 

TODO

#define SMALLER   0x4000
 

Window has an iconifier

#define SMC_FREEZE   3 /* MagiC 2 */
 

TODO

#define SMC_HIDEACT   8 /* MagiC 3.1 */
 

TODO

#define SMC_HIDEOTHERS   7 /* MagiC 3.1 */
 

TODO

#define SMC_RES5   5 /* MagiC 2 */
 

TODO

#define SMC_SWITCH   2 /* MagiC 2 */
 

TODO

#define SMC_TERMINATE   1 /* MagiC 2 */
 

TODO

#define SMC_TIDY_UP   0 /* MagiC 2 */
 

TODO

#define SMC_UNFREEZE   4 /* MagiC 2 */
 

TODO

#define SMC_UNHIDEALL   6 /* MagiC 3.1 */
 

TODO

#define SOLID   1
 

TODO

#define SQUARE   0
 

TODO

#define SV_INQUIRE   0
 

inquire sysvar data, see mt_objc_sysvar()

#define SV_SET   1
 

set sysvar data, see mt_objc_sysvar()

#define SW_DEFDIR   0x0400
 

Default Directory , see SHELW::defdir

#define SW_ENVIRON   0x0800
 

Environment , see SHELW::env

#define SW_GID   0x2000
 

Set group id of launched child, see SHELW::gid

#define SW_PRENICE   0x0200
 

Initial Prenice() , see SHELW::prenice

#define SW_PSETLIMIT   0x0100
 

Initial Psetlimit() , see SHELW::psetlimit

#define SW_UID   0x1000
 

Set user id of launched child, see SHELW::uid

#define SWM_AESMSG   10
 

Send a message to the AES, see mt_shel_write()

#define SWM_BROADCAST   7
 

Broadcast an AES message to all processes, see mt_shel_write()

#define SWM_ENVIRON   8
 

Manipulate the AES environment, see mt_shel_write()

#define SWM_LAUNCH   0
 

Launch a GEM or TOS application or GEM desk accessory depending on the extension of the file. See mt_shel_write()

#define SWM_LAUNCHACC   3
 

Launch a GEM desk accessory, see mt_shel_write()

#define SWM_LAUNCHNOW   1
 

Launch a GEM or TOS application based on the value of wisgr, see mt_shel_write()

#define SWM_NEWMSG   9
 

Inform the AES of a new message the current application understands, see mt_shel_write()

#define SWM_REZCHANGE   5
 

Change screen resolution, see mt_shel_write()

#define SWM_SHUTDOWN   4
 

Manipulate 'Shutdown' mode, see mt_shel_write()

#define SWM_THRCREATE   20
 

create a new thread, see mt_shel_write()

#define SWM_THREXIT   21
 

thread terminates itself, see mt_shel_write()

#define SWM_THRKILL   22
 

parent kills a thread, see mt_shel_write()

#define SYSTEM_FONT   0
 

see mt_appl_getinfo()

#define TA_ASCENT   2
 

TODO

#define TA_BASE   0 /* vertical */
 

TODO

#define TA_BOTTOM   3
 

TODO

#define TA_CENTER   1
 

TODO

#define TA_DESCENT   4
 

TODO

#define TA_HALF   1
 

TODO

#define TA_LEFT   0 /* horizontal */
 

TODO

#define TA_RIGHT   2
 

TODO

#define TA_TOP   5
 

TODO

#define TE_CNTR   2
 

TODO

#define TE_LEFT   0
 

TODO

#define TE_RIGHT   1
 

TODO

#define TEXT_CRSR   1
 

see mt_graf_mouse()

#define TF_LIGHTENED   TXT_LIGHT
 

TODO

#define TF_NORMAL   TXT_NORMAL
 

TODO

#define TF_OUTLINED   TXT_OUTLINED
 

TODO

#define TF_SHADOWED   TXT_SHADOWED
 

TODO

#define TF_SLANTED   TXT_SKEWED
 

TODO

#define TF_THICKENED   TXT_THICKENED
 

TODO

#define TF_UNDERLINED   TXT_UNDERLINED
 

TODO

#define THICK_CROSS   6
 

see mt_graf_mouse()

#define THIN_CROSS   5
 

see mt_graf_mouse()

#define THR_EXIT   88
 

message received when a child thread that this application has started returns.

  • msg[0] = THR_EXIT
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = application identifier of the terminated thread
  • msg[4] = exit code of the thread (HIGH WORD)
  • msg[5] = exit code of the thread (LOW WORD)
  • msg[6] =
  • msg[7] =

Warning: the error code is a LONG (32 bits) value !

Since:
MagiC (?).

#define TOSAPP   0
 

application launched as TOS application, see mt_shel_write()

#define TRACK_NONE   0
 

TODO

#define TRACK_NORMAL   1
 

TODO

#define TRACK_TIGHT   2
 

TODO

#define TRACK_VERYTIGHT   3
 

TODO

#define TXT_LIGHT   0x0002
 

TODO

#define TXT_NORMAL   0x0000
 

TODO

#define TXT_OUTLINED   0x0010
 

TODO

#define TXT_SHADOWED   0x0020
 

TODO

#define TXT_SKEWED   0x0004
 

TODO

#define TXT_THICKENED   0x0001
 

TODO

#define TXT_UNDERLINED   0x0008
 

TODO

#define UNCHECK   0
 

remove the check mark of a menu item, see mt_menu_icheck()

#define UNHIGHLIGHT   1
 

display the title in normal mode, see mt_menu_tnormal()

#define UPARROW   0x0040
 

Window has an up arrow

#define USER_DEF   255
 

see mt_graf_mouse()

#define USERLINE   7
 

TODO

#define VINMODE_CHOICE   3
 

TODO

#define VINMODE_LOCATOR   1
 

TODO

#define VINMODE_STRING   4
 

TODO

#define VINMODE_VALUATOR   2
 

TODO

#define VSLIDE   0x0100
 

Window has a vertical slider

#define W_BOTTOMER   20
 

widget index of ???, see WF_COLOR

#define W_BOX   0
 

widget index of ???, see WF_COLOR

#define W_CLOSER   2
 

widget index of ???, see WF_COLOR

#define W_DATA   6
 

widget index of ???, see WF_COLOR

#define W_DNARROW   11
 

widget index of ???, see WF_COLOR

#define W_FULLER   4
 

widget index of ???, see WF_COLOR

#define W_HBAR   14
 

widget index of ???, see WF_COLOR

#define W_HELEV   18
 

widget index of ???, see WF_COLOR

#define W_HIDER   30
 

widget index of ???, see WF_COLOR

#define W_HSLIDE   17
 

widget index of ???, see WF_COLOR

#define W_INFO   5
 

widget index of ???, see WF_COLOR

#define W_LFARROW   15
 

widget index of ???, see WF_COLOR

#define W_NAME   3
 

widget index of ???, see WF_COLOR

#define W_RTARROW   16
 

widget index of ???, see WF_COLOR

#define W_SIZER   8
 

widget index of ???, see WF_COLOR

#define W_SMALLER   19
 

widget index of ???, see WF_COLOR

#define W_TITLE   1
 

widget index of ???, see WF_COLOR

#define W_UPARROW   10
 

widget index of ???, see WF_COLOR

#define W_VBAR   9
 

widget index of ???, see WF_COLOR

#define W_VELEV   13
 

widget index of ???, see WF_COLOR

#define W_VSLIDE   12
 

widget index of ???, see WF_COLOR

#define W_WORK   7
 

widget index of ???, see WF_COLOR

#define WA_DNLINE   3
 

Row Down, see WM_ARROWED

#define WA_DNPAGE   1
 

Page Down, see WM_ARROWED

#define WA_LFLINE   6
 

Column Left, see WM_ARROWED

#define WA_LFPAGE   4
 

Page Left , see WM_ARROWED

#define WA_RTLINE   7
 

Column Right, see WM_ARROWED

#define WA_RTPAGE   5
 

Page Right, see WM_ARROWED

#define WA_UPLINE   2
 

Row Up, see WM_ARROWED

#define WA_UPPAGE   0
 

Page Up, see WM_ARROWED

#define WA_WHEEL   8
 

XaAES TODO, see WM_ARROWED

#define WC_BORDER   0
 

compute the extent of a window from its work area, see mt_wind_calc()

#define WC_WORK   1
 

compute the work_area of a window from its extent, see mt_wind_calc()

#define WF_BEVENT   24
 

get/set window feature on mouse button event, see mt_wind_get() and mt_wind_set()

#define WF_BOTTOM   25
 

get/set bottom window, see mt_wind_get() and mt_wind_set()

#define WF_BOTTOMALL   22368
 

TODO (WINX 2.3)

#define WF_COLOR   18
 

get/set current color of widget, see mt_wind_get() and mt_wind_set()

#define WF_CURRXYWH   5
 

get/set current coordinates of the window (external area), see mt_wind_get() and mt_wind_set()

#define WF_DCOLOR   19
 

get/set default color of widget, see mt_wind_get() and mt_wind_set()

#define WF_FIRSTXYWH   11
 

get the first rectangle in the list of rectangles for this window, see mt_wind_get()

#define WF_FTOOLBAR   31
 

get the first rectangle of the toolbar area, see mt_wind_get()

#define WF_FULLXYWH   7
 

get the coordinates of the window when "fulled" the screen, see mt_wind_get()

#define WF_HSLIDE   8
 

get/set position of the horizontal slider, see mt_wind_get() and mt_wind_set()

#define WF_HSLSIZE   15
 

get/set size of the horizontal slider, see mt_wind_get() and mt_wind_set()

#define WF_ICONIFY   26
 

get/set iconification of the window, see mt_wind_get() and mt_wind_set()

#define WF_INFO   3
 

get/set info line of the window, see mt_wind_get() and mt_wind_set()

#define WF_INFOXYWH   104
 

TODO (MagiC 6.10)

#define WF_KIND   1
 

get the actual window attributes, see mt_wind_get()

#define WF_M_BACKDROP   100
 

TODO (KAOS 1.4)

#define WF_M_OWNER   101
 

TODO (KAOS 1.4)

#define WF_M_WINDLIST   102
 

TODO (KAOS 1.4)

#define WF_MENU   33
 

TODO (XaAES)

#define WF_MINXYWH   103
 

TODO (MagiC 6)

#define WF_NAME   2
 

get/set title name of the window, see mt_wind_get() and mt_wind_set()

#define WF_NEWDESK   14
 

get/set OBJECT tree installed as desktop, see mt_wind_get() and mt_wind_set()

#define WF_NEXTXYWH   12
 

get the next rectangle in the list of rectangles for this window, see mt_wind_get()

#define WF_NTOOLBAR   32
 

get the next rectangle of the toolbar area, see mt_wind_get()

#define WF_OWNER   20
 

get the owner of the window, see mt_wind_get()

#define WF_PREVXYWH   6
 

get the previous coordinates of the window (external area), see mt_wind_get()

#define WF_RESVD   13
 

reserved

#define WF_SCREEN   17
 

get current AES menu/alert buffer and its size, see mt_wind_get()

#define WF_SHADE   22365
 

TODO (WINX 2.3)

#define WF_STACK   22366
 

TODO (WINX 2.3)

#define WF_TOOLBAR   30
 

get/set tool bar attached to a window, see mt_wind_get() and mt_wind_set()

#define WF_TOP   10
 

get/set top window, see mt_wind_get() and mt_wind_set()

#define WF_TOPALL   22367
 

TODO (WINX 2.3)

#define WF_UNICONIFY   27
 

get/set un-iconification of the window, see mt_wind_get() and mt_wind_set()

#define WF_UNICONIFYXYWH   28
 

set window coordinates when uniconified , see mt_wind_set()

#define WF_VSLIDE   9
 

get/set position of the vertical slider, see mt_wind_get() and mt_wind_set()

#define WF_VSLSIZE   16
 

get/set size of the vertical slider, see mt_wind_get() and mt_wind_set()

#define WF_WHEEL   40
 

set window feature on mouse wheel event, see mt_wind_set()

#define WF_WIDGETS   200
 

get/set actual positions of the slider widgets, see mt_wind_get() and mt_wind_set()

#define WF_WINX   22360
 

TODO

#define WF_WINXCFG   22361
 

TODO

#define WF_WORKXYWH   4
 

get the work area coordinates of the work area, see mt_wind_get()

#define WF_XAAES   0x5841
 

TODO (XaAES) : 'XA'

#define WM_ALLICONIFY   36
 

message received when the user clicks on the SMALLER window gadget while the CONTROL key is pressed.

  • msg[0] = WM_ALLICONIFY
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = x
  • msg[5] = y
  • msg[6] = w
  • msg[7] = h : position of the iconified window

The application should then close all opened windows, and open a new iconified window at the position indicated which represents the application.

Since:
AES version 4.1. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MENU.

#define WM_ARROWED   24
 

message received when the user clicks on one of the slider gadgets of a window.

  • msg[0] = WM_ARROWED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = one of the following operation code:
  • msg[5] = either 'MW' (0x4d57) on the first wheel click or 'Mw' (0x4d77) on subsequent wheel clicks.
  • msg[6] = 0
  • msg[7] = original wheel amount

msg[5] to msg[7] are only available since XaAES with mouse wheel support. These fields are filled by the AES when the AES automatically transforms mouse wheel event (that appears on a window with arrow widget) to arrow messages.

A row or column message is sent when a slider arrow is selected. A 'page' message is sent when a darkened area of the scroll bar is clicked. This usually indicates that the application should adjust the window's contents by a larger amount than with the row or column messages.

If the application manage itself wheel event on a particular window (see mt_wind_set() with WF_WHEEL parameter), then on mouse wheel events, the window receives the following message:

  • msg[0] = WM_ARROWED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = WA_WHEEL
  • msg[5] = 0
  • msg[6] = wheel number
  • msg[7] = wheel amount

#define WM_BOTTOM   33
 

message received when the user act on the window to sent it to the bottom of the window stack.

  • msg[0] = WM_BOTTOM
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

The application should then sent the window to the bottom of the windows stack by calling mt_wind_set() with WF_BOTTOM command.

Note: the way the user may send a window to the bottom depend on the AES and its configuration.

Since:
AES version 4.1. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MENU.

#define WM_BOTTOMED   WM_BOTTOM
 

see WM_BOTTOM

#define WM_CLOSED   22
 

message received when the user clicks on a window's close box.

  • msg[0] = WM_CLOSED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

When an application received this message, it should closes the window by calling mt_wind_close()

#define WM_FULLED   23
 

message received when the user clicks on a window's full box.

  • msg[0] = WM_FULLED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

When an application received this message, if the window is not at full size, the window should ne resized using mt_wind_set() and WF_CURRXYWH to occupy the entire screen area minus the menu bar (see mt_wind_get()). If the window was previously 'fulled' and has not been resized since, the application should return the window to its previous size.

#define WM_HSLID   25
 

message received when the user moves the horizontal slider of a window.

  • msg[0] = WM_HSLID
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = new slider position from 0 to 1000.
  • msg[5] =
  • msg[6] =
  • msg[7] =

Note: Slider position is relative and not related to slider size.

#define WM_ICONIFY   34
 

message received when the user clicks on the SMALLER window gadget

  • msg[0] = WM_ICONIFY
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = x
  • msg[5] = y
  • msg[6] = w
  • msg[7] = h : position of the iconified window

The application should then iconify the window by calling mt_wind_set() with WF_ICONIFY command.

Since:
AES version 4.1. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MENU.

#define WM_M_BDROPPED   100 /* KAOS 1.4 */
 

TODO

#define WM_MOVED   28
 

message received when the user moves the window by dragging the window title bar.

  • msg[0] = WM_MOVED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = x
  • msg[5] = y
  • msg[6] = w
  • msg[7] = h of the new window location

Use mt_wind_set() with the command WF_CURRXYWH to change the size of the window.

WM_SIZED and WM_MOVED usually share common handling code.

#define WM_NEWTOP   29
 

message received when the user has topped a window

  • msg[0] = WM_NEWTOP
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

#define WM_ONTOP   31
 

message received when the window is brought to the front on a multitasking AES.

  • msg[0] = WM_ONTOP
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

The application need take no action. The message is for informational use only.

Since:
AES version 4.0. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MENU.

#define WM_REDRAW   20
 

message received when a portion of the screen has to be redrawn

  • msg[0] = WM_REDRAW
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window to redraw
  • msg[4] = x,
  • msg[5] = y,
  • msg[6] = w,
  • msg[7] = h: rectangle of the area to be redrawn.

When the message is received the window contents should be drawn (or a representative icon if the window is iconified).

#define WM_SHADED   22360
 

TODO [WM_SHADED apid 0 win 0 0 0 0]

#define WM_SIZED   27
 

message received when the user drags the window sizing gadget.

  • msg[0] = WM_SIZED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = x
  • msg[5] = y
  • msg[6] = w
  • msg[7] = h of the new window location

Use mt_wind_set() with the command WF_CURRXYWH to change the size of the window.

WM_SIZED and WM_MOVED usually share common handling code.

#define WM_TOOLBAR   37
 

message received when the user clicks on a toolbar object

  • msg[0] = WM_TOOLBAR
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = index of the object clicked
  • msg[5] = number of clicks
  • msg[6] = state of the keyboard shift keys (see mt_evnt_keybd())
  • msg[7] =

Since:
AES version 4.1. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MENU.

#define WM_TOPPED   21
 

message received when a window which is not the top window has been clicked on by the user.

  • msg[0] = WM_TOPPED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

When an application received this message, it should sets the window to the top by calling mt_wind_set() with WF_TOP parameter.

#define WM_UNICONIFY   35
 

message received when the user double-clicks on the iconified window

  • msg[0] = WM_UNICONIFY
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = x
  • msg[5] = y
  • msg[6] = w
  • msg[7] = h : position of the iconified window

The application should then uniconify the window by calling mt_wind_set() with WF_UNICONIFY command.

Since:
AES version 4.1. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MENU.

#define WM_UNSHADED   22361
 

TODO [WM_UNSHADED apid 0 win 0 0 0 0]

#define WM_UNTOPPED   30
 

message received when the window is sent behind one or more windows as the result of another window being topped.

  • msg[0] = WM_UNTOPPED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

The application need take no action. The message is for informational use only.

Since:
AES version 4.0. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MENU.

#define WM_VSLID   26
 

message received when the user moves the vertical slider of a window.

  • msg[0] = WM_VSLID
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = new slider position from 0 to 1000.
  • msg[5] =
  • msg[6] =
  • msg[7] =

Note: Slider position is relative and not related to slider size.


Typedef Documentation

typedef struct bit_block BITBLK
 

TODO

typedef struct cicon_data CICON
 

TODO

typedef struct cicon_blk CICONBLK
 

TODO

typedef struct pEvntrec EVNTREC
 

struct used by mt_appl_trecord() and mt_appl_tplay()

ap_event defines the required interpretation of ap_value as follows:
ap_event ap_value
APPEVNT_TIMER (0) Elapsed Time (in milliseconds)
APPEVNT_BUTTON (1) low word = state (1 = down), high word = # of clicks
APPEVNT_MOUSE (2) low word = X pos, high word = Y pos
APPEVNT_KEYBOARD (3) bits 0-7 = ASCII code, bits 8-15 = scan code, bits 16-31 = shift key

Please read documentation of mt_appl_trecord() and mt_appl_tplay() for more details and known bugs related to this structure.

typedef struct graphic_rectangle GRECT
 

TODO

typedef struct icon_block ICONBLK
 

TODO

typedef struct _menu MENU
 

MENU structure, used by mt_menu_attach() and mt_menu_popup()

typedef struct memory_form MFDB
 

VDI Memory Form Definition Block

typedef struct mouse_form MFORM
 

Mouse Form Definition Block, see mt_graf_mouse()

typedef struct _mn_set MN_SET
 

menu_settings uses a new structure for setting and inquiring the submenu delay values and the menu scroll height.

typedef struct mouse_event_type MOUSE_EVENT
 

TODO

typedef struct objc_colorword OBJC_COLORWORD
 

TODO

typedef struct object OBJECT
 

TODO

typedef union obspecptr OBSPEC
 

TODO

typedef struct parm_block PARMBLK
 

TODO

typedef struct point_coord PXY
 

TODO

typedef struct rgb_1000 RGB1000
 

RGB intesities in promille

typedef struct rshdr RSHDR
 

TODO

typedef short short
 

for better readability

typedef struct text_edinfo TEDINFO
 

TODO

typedef struct user_block USERBLK
 

TODO


Generated on Wed Nov 3 22:42:19 2004 for GEMLIB by  doxygen 1.3.9.1