compile insert msWin_MessageBox_Equates /* ** Copyright (C) 2015 Revelation Software Inc. All Rights Reserved ** Author Mr C Date January 2015 Purpose Equates for use with the Windows API MessageBox function Comments ======== Amended Date Reason ======= ==== ====== Mr C 22 Oct 15 Added function declarations, dialog command IDs */ //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// #ifndef _MSWIN_MESSAGEBOX_EQUATES_ #define _MSWIN_MESSAGEBOX_EQUATES_ //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// declare function msWin_MessageBox, msWin_MessageBeep //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// equ MB_OK$ to 0x00000000 equ MB_OKCANCEL$ to 0x00000001 equ MB_ABORTRETRYIGNORE$ to 0x00000002 equ MB_YESNOCANCEL$ to 0x00000003 equ MB_YESNO$ to 0x00000004 equ MB_RETRYCANCEL$ to 0x00000005 equ MB_CANCELTRYCONTINUE$ to 0x00000006 equ MB_ICONHAND$ to 0x00000010 equ MB_ICONQUESTION$ to 0x00000020 equ MB_ICONEXCLAMATION$ to 0x00000030 equ MB_ICONASTERISK$ to 0x00000040 equ MB_USERICON$ to 0x00000080 equ MB_ICONWARNING$ to MB_ICONEXCLAMATION$ equ MB_ICONERROR$ to MB_ICONHAND$ equ MB_ICONINFORMATION$ to MB_ICONASTERISK$ equ MB_ICONSTOP$ to MB_ICONHAND$ equ MB_DEFBUTTON1$ to 0x00000000 equ MB_DEFBUTTON2$ to 0x00000100 equ MB_DEFBUTTON3$ to 0x00000200 equ MB_DEFBUTTON4$ to 0x00000300 equ MB_APPLMODAL$ to 0x00000000 equ MB_SYSTEMMODAL$ to 0x00001000 equ MB_TASKMODAL$ to 0x00002000 equ MB_HELP$ to 0x00004000 equ MB_NOFOCUS$ to 0x00008000 equ MB_SETFOREGROUND$ to 0x00010000 equ MB_DEFAULT_DESKTOP_ONLY$ to 0x00020000 equ MB_TOPMOST$ to 0x00040000 equ MB_RIGHT$ to 0x00080000 equ MB_RTLREADING$ to 0x00100000 equ MB_SERVICE_NOTIFICATION$ to 0x00200000 equ MB_TYPEMASK$ to 0x0000000F equ MB_ICONMASK$ to 0x000000F0 equ MB_DEFMASK$ to 0x00000F00 equ MB_MODEMASK$ to 0x00003000 equ MB_MISCMASK$ to 0x0000C000 //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// * // Dialog Box Command IDs equ IDOK$ to 1 equ IDCANCEL$ to 2 equ IDABORT$ to 3 equ IDRETRY$ to 4 equ IDIGNORE$ to 5 equ IDYES$ to 6 equ IDNO$ to 7 equ IDCLOSE$ to 8 equ IDHELP$ to 9 equ IDTRYAGAIN$ to 10 equ IDCONTINUE$ to 11 equ IDTIMEOUT$ to 32000 //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// #endif //////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////