|
|
1.1 root 1: /*
2: Header file for BMAP
3: Created by Microsoft Corp., 1988
4: */
5: /**********************************************************************\
6: * Size of maximum string size allocated
7: \**********************************************************************/
8:
9: #define CCHMAXSTRING 80
10:
11: /**********************************************************************\
12: * Resource Ids
13: \**********************************************************************/
14:
15: #define ID_BMAP 1
16: #define ID_BITMAP1 2
17: #define ID_BITMAP2 3
18: #define ID_BITMAP3 4
19:
20: /**********************************************************************\
21: * Constants
22: \**********************************************************************/
23:
24: #define LISTCOUNT 7
25:
26: /**********************************************************************\
27: * IDM - ID for Menu commands
28: * IDS - ID for String table
29: \**********************************************************************/
30:
31:
32: #define IDMEXAMPLE 201
33: #define IDMEXITMENU 203
34: #define IDMEXIT 204
35: #define IDMRESUME 205
36: #define IDMHELP 206
37: #define IDMEXTHELP 207
38: #define IDMHELPINDEX 208
39: #define IDMKEYSHELP 209
40:
41: #define IDMBITMAP 250
42: #define IDMDRAWPIC 251
43: #define IDMSAVEPIC 252
44: #define IDMBLTPIC 253
45: #define IDMWINDRAW 254
46: #define IDMGPIBITBLT 255
47:
48: #define IDSNAME 310
49: #define IDSTEXTSTR 311
50: #define IDSTERMINATE 312
51: #define IDSVISIBLE 313
52: #define IDSEXTHELP 314
53: #define IDSHELPINDEX 315
54: #define IDSKEYSHELP 316
55: #define IDSGENERALHELP 317
56:
57:
58: /********************************************************************\
59: * These procedures must be declared FAR because they are exported
60: * and called by OS/2 Windows Presentation Manager.
61: \********************************************************************/
62:
63: MRESULT EXPENTRY BmapWndProc ( HWND, USHORT, MPARAM, MPARAM );
64:
65:
66:
67: /********************************************************************\
68: * These procedures are declared here to get type and parameter
69: * checking for calls between modules. The compiler switches -AS and
70: * -AM for SMALL and MIDDLE model will make them NEAR and FAR
71: * respectively, so there is no explicit declaration as NEAR or FAR.
72: \********************************************************************/
73: VOID BmapHelp ( HWND, USHORT );
74: BOOL BmapInitApp ( VOID );
75: VOID BmapPaint ( HWND );
76: VOID BmapQueryQuit ( HWND );
77: VOID MenuGrey ( USHORT, BOOL );
78: VOID MenuTick ( USHORT, BOOL );
79: VOID SimplePic ( HPS );
80: VOID WindowDestroy();
81: VOID WindowInitialization ( HWND );
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.