|
|
Microsoft OS/2 SDK 2.0 05-30-1990
/*==============================================================*\ * * * Main.h - Sample PM application header file * * Created 1990, Microsoft, IBM Corp. * * *--------------------------------------------------------------* * * * This header file contains the application wide constants * * and structure definitions. * * * \*==============================================================*/ #define IDR_MAIN 1 /* resource identifier */ /*--------------------------------------------------------------*\ * Dialog box ids * \*--------------------------------------------------------------*/ #define IDD_FILEOPEN 2000 #define IDD_FILESAVE 2001 #define IDD_FONT 2002 #define IDD_MSGBOX 1001 #define ID_MLE 1002 /*--------------------------------------------------------------*\ * Menu item ids * \*--------------------------------------------------------------*/ #define IDM_FILE 1000 #define IDM_FILENEW 1100 #define IDM_FILEOPEN 1200 #define IDM_FILESAVE 1300 #define IDM_FILESAVEAS 1400 #define IDM_FILEPRINT 1500 #define IDM_FILEPAGESETUP 1600 #define IDM_FILEPRINTSETUP 1700 #define IDM_FILEEXIT 1800 #define IDM_EDIT 2000 #define IDM_EDITUNDO 2100 #define IDM_EDITCUT 2200 #define IDM_EDITCOPY 2300 #define IDM_EDITPASTE 2400 #define IDM_EDITCLEAR 2500 #define IDM_OPTIONS 3000 #define IDM_OPTIONSFORECOLOR 3100 #define IDM_OPTIONSBACKCOLOR 3200 #define IDM_OPTIONSBACKCOLORYELLOW 3210 #define IDM_OPTIONSBACKCOLORPINK 3220 #define IDM_OPTIONSBACKCOLORCYAN 3230 #define IDM_OPTIONSBACKCOLORDEFAULT 3240 #define IDM_OPTIONSFONT 3300 #define IDM_DEMO 4000 #define IDM_DEMODLG 4100 #define IDM_DEMODLGBUTTONS 4110 #define IDM_DEMODLGLISTBOXES 4120 #define IDM_DEMODLGCOMBOBOXES 4130 #define IDM_DEMODLGENTRYFIELDS 4140 #define IDM_DEMODLGSTATIC 4150 #define IDM_DEMODLGPP 4160 #define IDM_DEMOMSGBOX 4200 #define IDM_DEMOMSGBOXOK 4210 #define IDM_DEMOMSGBOXOKCANCEL 4220 #define IDM_DEMOMSGBOXYESNO 4230 #define IDM_DEMOMSGBOXYESNOCANCEL 4240 #define IDM_DEMOMSGBOXRETRYCANCEL 4250 #define IDM_DEMOMSGBOXABORT 4260 #define IDM_DEMOMSGBOXENTER 4270 #define IDM_DEMOMSGBOXENTERCANCEL 4280 #define IDM_DEMOMSGBOXQUERY 4290 #define IDM_DEMOMSGBOXWARNING 4300 #define IDM_DEMOMSGBOXINFO 4310 #define IDM_DEMOMSGBOXCRITICAL 4320 #define IDM_DEMOMSGBOXAPP 4330 #define IDM_DEMOMSGBOXSYS 4340 #define IDM_DEMOMSGBOXMOVEABLE 4350 #define IDM_DEMOMSGBOXHELP 4360 #define IDM_HELP 9000 #define IDM_HELPHELPFORHELP 9100 #define IDM_HELPEXTENDED 9200 #define IDM_HELPKEYS 9300 #define IDM_HELPINDEX 9400 #define IDM_HELPTUTORIAL 9500 #define IDM_HELPABOUT 9600 /*--------------------------------------------------------------*\ * Dialog item ids * \*--------------------------------------------------------------*/ #define ID_OK 1 #define ID_CANCEL 2 /*--------------------------------------------------------------*\ * Stringtable ids * \*--------------------------------------------------------------*/ #define IDS_FILEOPENEXT 1 #define IDS_APPNAME 2 #define IDS_HELPLIBRARYNAME 3 #define IDS_OPENDLGTITLE 4 #define IDS_OPENDLGBUTTON 5 #define IDS_HELPWINDOWTITLE 6 #define IDS_SAVEDLGTITLE 7 #define IDS_SAVEDLGBUTTON 8 #define IDS_UNTITLED 9 #define IDS_TITLEBARSEPARATOR 10 #define IDS_PRINTSETUPTITLE 11 #define IDS_PAGESETUPTITLE 12 #define IDS_PRINTTITLE 13 #define IDS_PPFONTPOINT 14 #define IDS_FONTDLGTITLE 15 #define IDS_DEMOMSGBOXOK 20 #define IDS_DEMOMSGBOXOKCANCEL 21 #define IDS_DEMOMSGBOXYESNO 22 #define IDS_DEMOMSGBOXYESNOCANCEL 23 #define IDS_DEMOMSGBOXRETRYCANCEL 24 #define IDS_DEMOMSGBOXABORT 25 #define IDS_DEMOMSGBOXENTER 26 #define IDS_DEMOMSGBOXENTERCANCEL 27 #define IDS_DEMOMSGBOXQUERY 28 #define IDS_DEMOMSGBOXWARNING 29 #define IDS_DEMOMSGBOXINFO 30 #define IDS_DEMOMSGBOXCRITICAL 31 #define IDS_DEMOMSGBOXAPP 32 #define IDS_DEMOMSGBOXSYS 33 #define IDS_DEMOMSGBOXMOVEABLE 34 #define IDS_DEMOMSGBOXHELP 35 #define IDS_LISTBOX1 40 #define IDS_LISTBOX2 41 #define IDS_LISTBOX3 42 #define IDS_LISTBOX4 43 #define IDS_LISTBOX5 44 #define IDS_LISTBOX6 45 #define IDS_LISTBOX7 46 #define IDS_LISTBOX8 47 #define IDS_LISTBOX9 48 #define IDS_LISTBOX10 49 #define IDS_BLUE 50 #define IDS_RED 51 #define IDS_PINK 52 #define IDS_GREEN 53 #define IDS_CYAN 54 #define IDS_YELLOW 55 #define IDS_DARKGRAY 56 #define IDS_DARKBLUE 57 #define IDS_DARKRED 58 #define IDS_DARKPINK 59 #define IDS_DARKGREEN 60 #define IDS_DARKCYAN 61 #define IDS_BROWN 62 #define IDS_PALEGRAY 63 #define IDS_DEFAULT 64 #define IDS_FIRSTCOLOR IDS_BLUE /*--------------------------------------------------------------*\ * Messagetable ids * \*--------------------------------------------------------------*/ #define IDMSG_INITFAILED 1 #define IDMSG_MAINWINCREATEFAILED 2 #define IDMSG_CANNOTOPENINPUTFILE 3 #define IDMSG_CANNOTOPENOUTPUTFILE 4 #define IDMSG_CANNOTRUNPAGESETUP 5 #define IDMSG_CANNOTRUNPRINTSETUP 6 #define IDMSG_CANNOTRUNPRINT 7 #define IDMSG_CANNOTRUNCOLOR 8 #define IDMSG_CANNOTGETHPS 9 #define IDMSG_HELPLOADERROR 10 #define IDMSG_CANNOTLOADSTRING 11 #define IDMSG_CANNOTOPENPRINTER 12 #define IDMSG_HELPDISPLAYERROR 13 #define IDMSG_CANNOTLOADEXITLIST 14 #define IDMSG_PRINTINITFAILED 15 #define IDMSG_OVERWRITEFILE 16 #define IDMSG_PRINTERROR 17 #define IDMSG_UNDOFAILED 18 #define IDMSG_CANNOTGETFILEINFO 19 #define IDMSG_CANNOTALLOCATEMEMORY 20 #define IDMSG_CANNOTREADFILE 21 #define IDMSG_CANNOTWRITETOFILE 22 #define IDMSG_CANNOTLOADFONTS 23 #define IDMSG_CANNOTGETPAGEINFO 24 #define IDMSG_PRINTAREATOOSMALL 25 #define IDMSG_CANNOTSETPP 26 /*--------------------------------------------------------------*\ * Other constants * \*--------------------------------------------------------------*/ #define MESSAGELEN 50 /* maximum length for messages */ #define TITLESEPARATORLEN 4 /* length of title bar separator string */ #ifndef CCHMAXFILE #define CCHMAXFILE 80 #endif #define SM_SETFOCUS WM_USER+100 /* message to set the focus to MLE */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.