|
|
1.1 root 1: /*
2: FONTTEST header file
3: Created by Microsoft Corp., 1988
4: */
5: #define ID_FONTTEST 1
6:
7: #define IDM_SAMPLE 91
8: #define IDM_CLEAR 92
9: #define IDM_OPTIONS 93
10: #define IDM_ABOUT 94
11:
12: #define IDOK 1
13: #define IDCANCEL 2
14: #define IDITALIC 3
15: #define IDUNDERLINE 4
16: #define IDSTRIKEOUT 5
17: #define IDHEIGHT 6
18: #define IDWIDTH 7
19: #define IDWEIGHT 8
20: #define IDAVCHARWIDTH 9
21: #define IDMAXCHARINC 10
22: #define IDFONTDESIRED 11
23: #define IDFONTINUSE 12
24: #define IDCODEPAGE 13
25: #define IDPITCH 14
26: #define IDFMHEIGHT 15
27: #define IDFMWIDTH 16
28: #define IDFMWEIGHT 17
29: #define IDFMCODEPAGE 18
30: #define IDFMPITCH 19
31: #define IDXSHEAR 20
32: #define IDYSHEAR 21
33: #define IDXANGLE 22
34: #define IDYANGLE 23
35:
36: /* String table constants */
37: #define IDS_NAME 100
38: #define IDS_TITLE 200
39: #define IDS_ALPHABET 300
40:
41: /* Dialog box resource ids */
42: #define IDD_ABOUT 1
43: #define IDD_OPTIONS 2
44:
45: /* User window longword ids */
46: #define ID_NOSHOW 0
47: #define ID_SHOW 1
48: #define ID_REDRAW 2
49:
50: #define ID_LCID 70
51:
52: #define CCHMAX 60
53: #define MAXLINES 100
54: #define FONTSAVAIL 20
55:
56: int cdecl main(void);
57:
58: MRESULT EXPENTRY FonttestWndProc ( HWND, USHORT, MPARAM, MPARAM );
59: MRESULT EXPENTRY fnAboutDlg ( HWND, USHORT, MPARAM, MPARAM );
60: MRESULT EXPENTRY fnOptionsDlg( HWND, USHORT, MPARAM, MPARAM );
61:
62: VOID PASCAL RedrawScreen( HWND, HPS );
63: VOID PASCAL ShowSampleString( HWND, HPS );
64: VOID PASCAL InitDlg( HWND );
65: VOID PASCAL DlgCommand( HWND, MPARAM );
66: VOID PASCAL FonttestCommand( HWND, USHORT );
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.