|
|
1.1 root 1:
2: //-----------------------------------------------------------------------------
3: // This is a part of the Microsoft Source Code Samples.
4: // Copyright (C) 1993 Microsoft Corporation.
5: // All rights reserved.
6: //
7: // This source code is only intended as a supplement to
8: // Microsoft Development Tools and/or WinHelp documentation.
9: // See these sources for detailed information regarding the
10: // Microsoft samples programs.
11: //-----------------------------------------------------------------------------
12:
13:
14: #include "windows.h"
15: #include "uniput.h"
16:
17: uniputIcon ICON uniput.ico
18:
19:
20: uniputMenu MENU
21: BEGIN
22:
23: // POPUP "&File"
24: // BEGIN
25: // MENUITEM "&Open New File ...", IDM_NEWFILE
26: // MENUITEM "&Close File", IDM_CLOSEFILE
27: // END
28:
29: POPUP "&Options"
30: BEGIN
31: MENUITEM "Show hex codepoint value.", IDM_SHOWHEX
32: MENUITEM "Show display range names.", IDM_SHOWNAMES
33: POPUP "Font Height"
34: BEGIN
35: MENUITEM "18", IDM_FONT18
36: MENUITEM "36", IDM_FONT36, CHECKED
37: MENUITEM "72", IDM_FONT72
38: END
39: POPUP "Characters per row"
40: BEGIN
41: MENUITEM "10", IDM_CHAR10
42: MENUITEM "16", IDM_CHAR16, CHECKED
43: MENUITEM "20", IDM_CHAR20
44: MENUITEM "32", IDM_CHAR32
45: MENUITEM "40", IDM_CHAR40
46: MENUITEM "64", IDM_CHAR64
47: END
48: END
49:
50: POPUP "&Window"
51: BEGIN
52: MENUITEM "&Cascade", IDM_MDICASCADE
53: MENUITEM "&Tile", IDM_MDITILE
54: MENUITEM SEPARATOR
55: MENUITEM "&New", IDM_NEWWINDOW
56: END
57:
58: POPUP "&Help"
59: BEGIN
60: MENUITEM "Help &Contents", IDM_HELP
61: MENUITEM SEPARATOR
62: MENUITEM "&About", IDM_ABOUT
63: END
64: END
65:
66:
67:
68:
69: aboutBox DIALOG 30, 14, 136, 90
70: LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
71: STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
72: CAPTION "About uniput"
73: BEGIN
74: ICON "uniputIcon", 101, 8, 20, 18, 20
75: LTEXT "Uniput-- input Unicode chars", 103, 40, 25, 95, 8
76: LTEXT "version 1.1", 106, 40, 35, 95, 8
77: DEFPUSHBUTTON "OK", IDOK, 95, 6, 40, 14
78: CONTROL "", 108, "Static", SS_BLACKRECT, 0, 53, 136, 2
79: CTEXT "Microsoft Developer Support", 105, 0, 62, 136, 8
80: CTEXT "Copyright \251 1992-1993 Microsoft Corporation", 105, 0, 74,
81: 136, 8
82: END
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.