|
|
Microsoft OS/2 SDK PM 08-08-1988
/* Header file for LINE application Created by Microsoft Corp., 1988 */ #define INCL_PM /* include all of the PM functions */ #include <os2.h> #define IDM_QUERY 98 #define ID_ABOUT 100 #define IDM_ABOUT 101 #define ID_RESOURCE 102 #define IDM_FILE 103 #define ID_OK 200 /* line stuff */ #define IDM_LINE 50 #define IDM_DR_LINE 51 /* screen stuff */ #define IDM_SCREEN 60 #define IDM_SC_ERASE 61 /* arc stuff */ #define IDM_ARC 78 #define IDM_AR_SFLL 79 #define IDM_AR_FULL 80 #define IDM_AR_3PNT 81 #define IDM_AR_PRTL 82 #define IDM_AR_FLLT 83 #define IDM_AR_SPLN 84 #define IDM_AR_PARM 85 #define IDM_AR_CPNT 86 #define IDM_AR_AXIS 87 /* arc parameter dialog */ #define IDDLG_ARCP 88 #define DM_LP 89 #define DM_LQ 90 #define DM_LR 91 #define DM_LS 92 #define DM_OK 93 #define DM_QUIT 94 #define DM_SLabel 257 #define DM_SCALE 256 /* fillet sharpness parameter dialog */ #define IDDLG_FSDP 97 #define DM_S1 98 #define DM_S2 99 #define DM_S3 100 #define DM_S4 101 #define DM_OKF 102 #define DM_QUITF 103 /* line-width menu stuff */ #define IDM_WIDTH 599 #define IDM_WI_2 606 #define IDM_WI_5 600 #define IDM_WI_10 601 #define IDM_WI_15 602 #define IDM_WI_20 603 #define IDM_WI_25 604 #define IDM_WI_50 605 /* line-color menu stuff */ #define IDM_COLOR 700 #define IDM_CO_BACKGROUND 701 #define IDM_CO_BLUE 702 #define IDM_CO_RED 703 #define IDM_CO_PINK 704 #define IDM_CO_GREEN 705 #define IDM_CO_CYAN 706 #define IDM_CO_YELLOW 707 #define IDM_CO_NEUTRAL 708 #define IDM_CO_DARKGRAY 709 #define IDM_CO_PALEBLUE 710 #define IDM_CO_PALERED 711 #define IDM_CO_PALEPINK 712 #define IDM_CO_DARKGREEN 713 #define IDM_CO_DARKCYAN 714 #define IDM_CO_BROWN 715 #define IDM_CO_PALEGRAY 716 /* line-join menu stuff */ #define IDM_LINEJOIN 800 #define IDM_LI_DEFAULT 801 #define IDM_LI_BEVEL 802 #define IDM_LI_ROUND 803 #define IDM_LI_MITRE 804 /* line-end menu stuff */ #define IDM_LINEEND 900 #define IDM_LE_DEFAULT 901 #define IDM_LE_FLAT 902 #define IDM_LE_SQUARE 903 #define IDM_LE_ROUND 904 /* the mix-mode menu and its items */ #define IDM_MIXMODE 0x0610 #define IDM_MM_XOR 0x0611 #define IDM_MM_AND 0x0612 #define IDM_MM_SUBTRACT 0x0613 #define IDM_MM_MASKSRCNOT 0x0614 #define IDM_MM_ZERO 0x0615 #define IDM_MM_NOTMERGESRC 0x0616 #define IDM_MM_NOTXORSRC 0x0617 #define IDM_MM_INVERT 0x0618 #define IDM_MM_MERGESRCNOT 0x0619 #define IDM_MM_NOTCOPYSRC 0x0620 #define IDM_MM_MERGENOTSRC 0x0621 #define IDM_MM_NOTMASKSRC 0x0622 #define IDM_MM_ONE 0x0623 #define IDM_MM_DEFAULT 0x0624 #define IDM_MM_OR 0x0625 #define IDM_MM_OVERPAINT 0x0626 #define IDM_MM_LEAVEALONE 0x0627 /* segment menu and its items */ #define IDM_DRAW 0x0210 #define IDM_DR_DRAW1 0x0211 #define IDM_DR_ERASE 0x0212 #define IDM_DR_DRAW2 0x0213 #define IDM_DR_SAVE 0x0214 extern HAB hab; extern HMQ hmq; extern char szClassName[]; /* window class name */ extern HWND hwndClient; /* handle to the client */ extern HWND hwndFrame; /* handle to the frame window */ VOID cdecl main(VOID); MRESULT FAR PASCAL GenericWndProc(HWND, USHORT, MPARAM, MPARAM); MRESULT FAR PASCAL About(HWND, USHORT, MPARAM, MPARAM); MRESULT FAR PASCAL ArcPDlgProc(HWND, USHORT, MPARAM, MPARAM); MRESULT FAR PASCAL Fil_S_DlgProc(HWND, USHORT, MPARAM, MPARAM);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.