-
Notifications
You must be signed in to change notification settings - Fork 1
/
resource.rc
126 lines (114 loc) · 3.2 KB
/
resource.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#include <windows.h>
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
//
// Version information
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_STR_FILEVERSION
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_APP
{
BLOCK "StringFileInfo"
{
BLOCK "040904b0"
{
VALUE "CompanyName", VER_STR_COMPANYNAME
VALUE "FileDescription", VER_STR_DESCRIPTION
VALUE "FileVersion", VER_STR_VERSION
VALUE "InternalName", VER_STR_ORIGINALFILENAME
VALUE "LegalCopyright", VER_STR_COPYRIGHT
VALUE "OriginalFileName", VER_STR_ORIGINALFILENAME
VALUE "ProductName", VER_STR_APPNAME
VALUE "ProductVersion", VER_STR_VERSION
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x409, 1200
}
}
//
// Icon
//
application ICON "APPLICATION.ico"
//
// Menu
//
menu MENU
{
POPUP "&File"
{
MENUITEM "&Reload", IDM_FILE_RELOAD
MENUITEM "&New", IDM_FILE_NEW
MENUITEM "&Open...", IDM_FILE_OPEN
MENUITEM "&Save", IDM_FILE_SAVE
MENUITEM "Save &As...", IDM_FILE_SAVE_AS
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_FILE_EXIT
}
POPUP "&Edit"
{
MENUITEM "&Undo", IDM_EDIT_UNDO
MENUITEM SEPARATOR
MENUITEM "&Begin Select", IDM_EDIT_BEGIN_SELECT
MENUITEM "&End Select", IDM_EDIT_END_SELECT
MENUITEM SEPARATOR
MENUITEM "Cu&t", IDM_EDIT_CUT
MENUITEM "&Copy", IDM_EDIT_COPY
MENUITEM "&Paste", IDM_EDIT_PASTE
MENUITEM "C&lear", IDM_EDIT_CLEAR
MENUITEM SEPARATOR
MENUITEM "&Find...", IDM_EDIT_FIND
MENUITEM "Find &Next", IDM_EDIT_FIND_NEXT
MENUITEM SEPARATOR
MENUITEM "Select &All", IDM_EDIT_SELECT_ALL
}
POPUP "&Tools"
{
MENUITEM "&Lookup...", IDM_TOOLS_LOOKUP
MENUITEM SEPARATOR
MENUITEM "&Status Bar", IDM_TOOLS_STATUSBAR
MENUITEM "&Wordwrap", IDM_TOOLS_WORDWRAP
MENUITEM "&Font...", IDM_TOOLS_FONT
MENUITEM "&Text Color...", IDM_TOOLS_TEXTCOLOR
MENUITEM "&Background Color...", IDM_TOOLS_BACKCOLOR
MENUITEM SEPARATOR
POPUP "&Charset..."
{
MENUITEM "&Shift_JIS (CP932)", IDM_TOOLS_CHARSET_CP932
MENUITEM "&UTF-8 (Unicode)", IDM_TOOLS_CHARSET_UTF8
MENUITEM "UTF-16 &LE (Unicode)", IDM_TOOLS_CHARSET_UTF16LE
MENUITEM "CP1252 (&ANSI)", IDM_TOOLS_CHARSET_CP1252
MENUITEM SEPARATOR
MENUITEM "Auto Detect by &BOM", IDM_TOOLS_CHARSET_AUTODETECT
}
POPUP "&Newline Code..."
{
MENUITEM "&CRLF", IDM_TOOLS_NEWLINECODE_CRLF
MENUITEM "&LF", IDM_TOOLS_NEWLINECODE_LF
MENUITEM "C&R", IDM_TOOLS_NEWLINECODE_CR
}
MENUITEM "&Add BOM (UTF-8)", IDM_TOOLS_ADDBOM
}
POPUP "&Help"
{
MENUITEM "&About", IDM_ABOUT
}
}
//
// Dialog
//
find_string DIALOG 0, 0, 155, 42
STYLE 0x40 | 0x8 | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_WINDOWEDGE
CAPTION "Find String"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
FONT 10, "Tahoma"
{
EDITTEXT 101, 6, 6, 141, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
DEFPUSHBUTTON "&Search", 1, 42, 24, 51, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Cancel", 2, 96, 24, 51, 12, WS_CHILD | WS_VISIBLE | WS_TABSTOP
}