advapi32: Create MachineGuid value if it doesn't exist.
[wine] / dlls / user32 / tests / resource.rc
1 /* Unit test suite for resources.
2  *
3  * Copyright 2004 Ferenc Wagner
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18  */
19
20 #include "windef.h"
21 #include "winuser.h"
22
23 1 ACCELERATORS
24 {
25   "^N", 1000 /* Ctrl+'N' */
26   "N", 1001 /* Shift+'n' */
27   "n", 1002 /* 'n' */
28 }
29
30 2 ACCELERATORS
31 {
32   78, 1000, VIRTKEY, CONTROL /* Ctrl+'N' */
33   78, 1001, ASCII /* 'N' */
34   110, 1002, ASCII /* 'n' */
35   78, 1003, VIRTKEY, ALT /* Alt+'N' */
36   78, 1004, VIRTKEY, CONTROL, SHIFT /* Ctrl+Shift+'N' */
37   78, 1005, VIRTKEY, CONTROL, ALT, SHIFT /* Ctrl+Alt+Shift+'N' */
38 }
39
40 STRINGTABLE
41 {
42   0 "String resource"
43   1 "Another string resource"
44   2 L"This is a wide string resource"
45   65534 "Test high id"
46 }
47
48 TEST_DIALOG DIALOG DISCARDABLE 0, 0, 60, 30
49 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
50 CAPTION "Test dialog"
51 FONT 8, "MS Shell Dlg"
52 {
53   DEFPUSHBUTTON "OK",     IDOK,4,4,50,14, WS_TABSTOP | WS_GROUP
54 }
55
56 RADIO_TEST_DIALOG DIALOGEX 0, 0, 160, 80
57 STYLE DS_SETFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
58 CAPTION "Radio Button Test Dialog"
59 FONT 8, "MS Shell Dlg"
60 {
61   GROUPBOX "Static",      100,6,5,92,70
62   CONTROL  "Radio1",      200,"Button",BS_AUTORADIOBUTTON |
63                           WS_GROUP | WS_TABSTOP,17,27,39,10
64   CONTROL  "Radio2",      201,"Button",BS_AUTORADIOBUTTON,17,40,39,10
65   PUSHBUTTON "Cancel",    IDCANCEL,109,20,50,14, WS_TABSTOP | WS_GROUP
66 }
67
68 CLASS_TEST_DIALOG DIALOG DISCARDABLE  0, 0, 91, 28
69 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
70 CAPTION "CreateDialogParams Test"
71 CLASS "TestDialog"
72 FONT 8, "MS Shell Dlg"
73 {
74 }
75
76 CLASS_TEST_DIALOG_2 DIALOG DISCARDABLE  0, 0, 100, 100
77 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
78 CAPTION "CreateDialogParams Test"
79 CLASS "MyDialogClass"
80 FONT 8, "MS Shell Dlg"
81 {
82 }
83
84 FOCUS_TEST_DIALOG DIALOG DISCARDABLE 0, 0, 60, 30
85 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CONTROL
86 CAPTION "Test dialog"
87 FONT 8, "MS Shell Dlg"
88 {
89   EDITTEXT                200,4,4,50,14
90 }
91
92 IDD_DIALOG DIALOG DISCARDABLE  0, 0, 186, 95
93 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
94 CAPTION "Dialog"
95 FONT 8, "MS Sans Serif"
96 BEGIN
97     DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
98     PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
99 END
100
101 /* @makedep: test_mono.bmp */
102 100 BITMAP test_mono.bmp
103
104 1 MENU
105 {
106     POPUP "&File"
107     {
108         MENUITEM "&New", 100
109         MENUITEM "&Open", 101
110         MENUITEM "&Save", 102
111         MENUITEM SEPARATOR
112         MENUITEM "E&xit", 103
113     }
114     POPUP "Edit"
115     {
116         MENUITEM "&Undo", 200
117         MENUITEM SEPARATOR
118         MENUITEM "Cu&t", 201
119         MENUITEM "&Copy", 202
120         MENUITEM "&Paste", 203
121         MENUITEM "&Delete", 204
122     }
123 }