-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathIMEApps.rc
127 lines (110 loc) · 8.46 KB
/
IMEApps.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
127
/**********************************************************************/
/* */
/* IMEAPPS.RC */
/* */
/* Copyright (c) 1995 - 2000 Microsoft Corporation */
/* */
/**********************************************************************/
#include <windows.h>
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
MYICON ICON DISCARDABLE "res/imeapps.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_BMP BITMAP MOVEABLE PURE "res/toolbar.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// Cursor
//
/////////////////////////////////////////////////////////////////////////////
//
// String
//
STRINGTABLE DISCARDABLE
BEGIN
IDM_FONT "Select Font for the composition string"
IDM_OPENSTATUS "Change Open/Close Status"
IDM_CONVERT "Convert the composition string"
IDM_REVERT "Revert the composition string"
IDM_CANCEL "Cancel the composition string"
IDM_COMPLETE "Complete the composition string"
IDM_SHOWCAND "Draw the candidate strings"
IDM_NEXTCAND "Next the candidate string"
IDM_PREVCAND "Prev the candidate string"
IDM_NEXTCLAUSE "Next target clause"
IDM_PREVCLAUSE "Prev target clause"
IDM_OPENCAND "Open the candidate list"
IDM_CLOSECAND "Close the candidate list"
IDM_NATIVEMODE "Alpha, Native Katakana Mode"
IDM_FULLHALF "Full and Half shape Mode"
IDM_ROMAN "Roman NoRoman Mode"
IDM_CHARCODE "CharCode Mode"
IDM_HANJA "Hanja Mode"
IDM_SOFTKBD "SoftKeyboard Mode"
IDM_EUDC "EUDC Mode"
IDM_SYMBOL "Symbol Mode"
END
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IMEAPPSMENU MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Font...", IDM_FONT
MENUITEM "&About...", IDM_ABOUT
END
POPUP "&Mode"
BEGIN
MENUITEM "Native" IDM_NATIVEMODE
MENUITEM "Full/Half" IDM_FULLHALF
MENUITEM "Roman" IDM_ROMAN
MENUITEM "CharCode" IDM_CHARCODE
MENUITEM "Hanja" IDM_HANJA
MENUITEM "SoftKeyboard" IDM_SOFTKBD
MENUITEM "EUDC" IDM_EUDC
MENUITEM "Symbol" IDM_SYMBOL
END
POPUP "&Convert"
BEGIN
MENUITEM "&Open", IDM_OPENSTATUS
MENUITEM SEPARATOR
MENUITEM "&Convert", IDM_CONVERT
MENUITEM "&Revert", IDM_REVERT
MENUITEM "C&ancel", IDM_CANCEL
MENUITEM "C&omplete", IDM_COMPLETE
MENUITEM SEPARATOR
MENUITEM "Next Target Clause", IDM_NEXTCLAUSE
MENUITEM "Prev Target Clause", IDM_PREVCLAUSE
END
POPUP "C&andidate"
BEGIN
MENUITEM "&ShowCand", IDM_SHOWCAND
MENUITEM SEPARATOR
MENUITEM "O&penCand", IDM_OPENCAND
MENUITEM "C&loseCand", IDM_CLOSECAND
MENUITEM SEPARATOR
MENUITEM "NextCand", IDM_NEXTCAND
MENUITEM "PrevCand", IDM_PREVCAND
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
ABOUTBOX DIALOG DISCARDABLE 19, 17, 184, 65
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "IMEAPPS Sample"
FONT 10, "System"
BEGIN
CTEXT "IME Apps Sample",-1,0,4,184,8
CTEXT "Version 0.0",-1,0,17,184,8
CTEXT "© 1995 - 2011 Microsoft Corporation",-1,0,32,184,8
DEFPUSHBUTTON "OK",IDOK,73,47,38,14,WS_GROUP
END