|
|
1.1 ! root 1: /*==============================================================*\ ! 2: * img_main.h - Sample PM application main header file * ! 3: * Created 1989, 1990 IBM, Microsoft Corp. * ! 4: *--------------------------------------------------------------* ! 5: * * ! 6: * This header file contains the application wide constants * ! 7: * and structure definitions. * ! 8: * * ! 9: \*==============================================================*/ ! 10: #define IDR_MAIN 1 /* resource identifier */ ! 11: #define MSGBOXID 1001 /* message box id */ ! 12: ! 13: /*--------------------------------------------------------------*\ ! 14: * Menu item ids * ! 15: \*--------------------------------------------------------------*/ ! 16: #define IDM_FILE 1000 ! 17: #define IDM_FILEOPEN 1100 ! 18: #define IDM_FILEEXIT 1200 ! 19: ! 20: #define IDM_VIEW 2000 ! 21: #define IDM_VIEWDETAIL 2100 ! 22: #define IDM_VIEWFOREGROUNDCOLOR 2200 ! 23: #define IDM_VIEWFORECOLORBLACK 2301 ! 24: #define IDM_VIEWFORECOLORWHITE 2302 ! 25: #define IDM_VIEWFORECOLORBLUE 2303 ! 26: #define IDM_VIEWFORECOLORGREEN 2304 ! 27: #define IDM_VIEWFORECOLORYELLOW 2305 ! 28: #define IDM_VIEWFORECOLORRED 2306 ! 29: #define IDM_VIEWBACKCOLORBLACK 2307 ! 30: #define IDM_VIEWBACKCOLORWHITE 2308 ! 31: #define IDM_VIEWBACKCOLORBLUE 2309 ! 32: #define IDM_VIEWBACKCOLORGREEN 2310 ! 33: #define IDM_VIEWBACKCOLORYELLOW 2311 ! 34: #define IDM_VIEWBACKCOLORRED 2312 ! 35: #define IDM_VIEWBACKGROUNDCOLOR 2400 ! 36: #define IDM_VIEWSAVEPOSITION 2500 ! 37: #define IDM_VIEWRESTOREPOSITION 2600 ! 38: ! 39: #define IDM_HELP 9000 ! 40: #define IDM_HELPHELPFORHELP 9100 ! 41: #define IDM_HELPEXTENDED 9200 ! 42: #define IDM_HELPKEYS 9300 ! 43: #define IDM_HELPINDEX 9400 ! 44: #define IDM_HELPABOUT 9500 ! 45: ! 46: /*--------------------------------------------------------------*\ ! 47: * String table ids * ! 48: \*--------------------------------------------------------------*/ ! 49: #define IDS_APPNAME 1 ! 50: #define IDS_FILEOPENEXTENSION 2 ! 51: #define IDS_HELPLIBRARYNAME 3 ! 52: #define IDS_OPENDLGHEADER 4 ! 53: #define IDS_OPENDLGBUTTON 5 ! 54: #define IDS_HELPWINDOWTITLE 6 ! 55: #define IDS_UNTITLED 7 ! 56: #define IDS_TITLEBARSEPARATOR 8 ! 57: ! 58: /*--------------------------------------------------------------*\ ! 59: * Message table ids * ! 60: \*--------------------------------------------------------------*/ ! 61: #define IDMSG_INITFAILED 10 ! 62: #define IDMSG_MAINWINCREATEFAILED 20 ! 63: #define IDMSG_CANNOTOPENINPUTFILE 30 ! 64: #define IDMSG_OUTOFMEMORY 40 ! 65: #define IDMSG_BACKEQFORE 50 ! 66: #define IDMSG_LOADERROR 60 ! 67: #define IDMSG_HELPLOADERROR 70 ! 68: #define IDMSG_CANNOTLOADSTRING 80 ! 69: #define IDMSG_CANNOTRUNFILEOPEN 90 ! 70: #define IDMSG_HELPDISPLAYERROR 100 ! 71: #define IDMSG_CANNOTLOADEXITLIST 110 ! 72: #define IDMSG_HELPMANAGERERROR 120 ! 73: #define IDMSG_WARNING 130 ! 74: ! 75: /*--------------------------------------------------------------*\ ! 76: * Other constants * ! 77: \*--------------------------------------------------------------*/ ! 78: #define MESSAGELEN 80 /* maximum length for messages */ ! 79: #define TITLESEPARATORLEN 4 /* title seperator length */ ! 80: #define CCHAPPNAME 15 /* sizeof(Image) */ ! 81: #define COLOR_BASE IDM_VIEWFORECOLORBLACK /* color base */ ! 82: #define COLOR_COUNT 6 /* number of color selections */ ! 83: #define CCHFILETITLE 10 /* sizeof(Filename: ) */ ! 84: #define VERTSCROLL 1 /* vertical scroll identifier */ ! 85: #define HORZSCROLL 2 /* horizontal scroll identifier */ ! 86: #define LINESCROLL 10 /* no of pels to scroll */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.