50 lines · plain
1#include "windows.h"
2
3LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
4
5myaccelerators ACCELERATORS
6{
7 "^C", 999, VIRTKEY, ALT
8 "D", 1100, VIRTKEY, CONTROL, SHIFT
9 "^R", 444, ASCII, NOINVERT
10}
11
12cursor BITMAP "cursor_small.bmp"
13okay BITMAP "okay_small.bmp"
14
1514432 MENU
16LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
17{
18 MENUITEM "yu", 100
19 MENUITEM "shala", 101
20 MENUITEM "kaoya", 102
21}
22
23testdialog DIALOG 10, 10, 200, 300
24STYLE WS_POPUP | WS_BORDER
25CAPTION "Test"
26{
27 CTEXT "Continue:", 1, 10, 10, 230, 14
28 PUSHBUTTON "&OK", 2, 66, 134, 161, 13
29}
30
3112 ACCELERATORS
32{
33 "X", 164, VIRTKEY, ALT
34 "H", 5678, VIRTKEY, CONTROL, SHIFT
35 "^R", 444, ASCII, NOINVERT
36}
37
38"eat" MENU
39LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_AUS
40{
41 MENUITEM "fish", 100
42 MENUITEM "salad", 101
43 MENUITEM "duck", 102
44}
45
46
47myresource stringarray {
48 "this is a user defined resource\0",
49 "it contains many strings\0",
50}