|
|
1.1 root 1: /* plgblt.h - header file for the PlgBlt() demonstration program. */
2:
3:
4: /* function prototypes for the window procedures. */
5: LRESULT MainWndProc(HWND, UINT, WPARAM, LPARAM);
6: LRESULT DlgProc (HWND, UINT, WPARAM, LPARAM);
7:
8: VOID DrawGrids (HDC, int, int);
9:
10: /* Top dialog item IDs */
11: #define DID_P1X 101
12: #define DID_P1Y 102
13: #define DID_P2X 103
14: #define DID_P2Y 104
15: #define DID_P3X 105
16: #define DID_P3Y 106
17: #define DID_XSRC 110
18: #define DID_YSRC 111
19: #define DID_WIDTH 112
20: #define DID_HEIGHT 113
21: #define DID_XMASK 114
22: #define DID_YMASK 115
23: #define DID_NEWSRC 160
24: #define DID_NEWMASK 161
25:
26: #define DID_DRAW 200
27:
28:
29:
30:
31:
32: /* accelerator IDs */
33: #define AID_PASTE 55
34: #define AID_COPY 56
35: #define AID_CYCLE 57
36:
37:
38:
39: /* Misc. defines for size, color, and appearance of drawing. */
40: #define GRIDCOLOR (COLORREF) 0x01000006
41: #define DIALOGHEIGHT 90
42: #define SEPARATORWIDTH 4
43: #define MAXCHARS 32
44: #define INC 5
45:
46:
47:
48:
49: /* other user messages sent to the main window or the dialog */
50: #define WM_PUTUPLPOINTS WM_USER+20
51: #define WM_PUTUPSRCRECT WM_USER+21
52: #define WM_PUTUPMASKPT WM_USER+22
53: #define WM_PLGBLT WM_USER+23
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.