1/* Resources for the common control unit test suite.
2 *
3 * Copyright 2006 Huw Davies
4 * Copyright 2006 Mikolaj Zalewski
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21#include "windef.h"
22#include "winuser.h"
23#include "resources.h"
24
25PROP_PAGE1 DIALOG 5, 43, 227, 215
26STYLE  WS_POPUP | WS_CAPTION | WS_CLIPSIBLINGS | WS_VISIBLE
27CAPTION "Page1"
28FONT 8, "MS Shell Dlg"
29{
30 LTEXT "Test", -1, 10, 6, 100, 8
31}
32
33IDD_PROP_PAGE_INTRO DIALOG 5, 43, 227, 215
34STYLE  WS_POPUP | WS_CAPTION | WS_CLIPSIBLINGS | WS_VISIBLE
35CAPTION "Edit Control Page"
36FONT 8, "MS Shell Dlg"
37{
38    LTEXT "This is a test property sheet!", -1, 10, 6, 100, 8
39}
40
41IDD_PROP_PAGE_EDIT DIALOG 5, 43, 227, 215
42STYLE  WS_POPUP | WS_CAPTION | WS_CLIPSIBLINGS | WS_VISIBLE
43CAPTION "Edit Control Page"
44FONT 8, "MS Shell Dlg"
45{
46    EDITTEXT IDC_PS_EDIT1, 5, 5, 150, 140, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE
47    EDITTEXT IDC_PS_EDIT2, 5, 160, 150, 28, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE
48}
49
50IDD_PROP_PAGE_RADIO DIALOG 5, 43, 227, 215
51STYLE  WS_POPUP | WS_CAPTION | WS_CLIPSIBLINGS | WS_VISIBLE
52CAPTION "Edit Control Page"
53FONT 8, "MS Shell Dlg"
54{
55    CONTROL "Radio1", IDC_PS_RADIO1, "Button", BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP, 20, 20, 39, 10
56    CONTROL "Radio2", IDC_PS_RADIO2, "Button", BS_AUTORADIOBUTTON, 20, 40, 39, 10
57}
58
59IDD_PROP_PAGE_EXIT DIALOG 5, 43, 227, 215
60STYLE  WS_POPUP | WS_CAPTION | WS_CLIPSIBLINGS | WS_VISIBLE
61CAPTION "Edit Control Page"
62FONT 8, "MS Shell Dlg"
63{
64    LTEXT "This has been a test property sheet!", -1, 10, 6, 170, 8
65}
66
67IDD_PROP_PAGE_MESSAGE_TEST DIALOG  0, 0, 339, 179
68STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_CHILD | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
69CAPTION "Message Test"
70BEGIN
71    LTEXT           "Some Text",-1,115,1,195,24
72END
73
74IDD_PROP_PAGE_ERROR DIALOG 0, 0, 100, 100
75STYLE WS_POPUP | WS_CAPTION | WS_CLIPSIBLINGS | WS_VISIBLE
76CLASS "Non-existing class"
77FONT 8, "MS Shell Dlg"
78{
79}
80
81STRINGTABLE
82{
83    IDS_TBADD1           "abc"
84    IDS_TBADD2           "|p|q|r"
85    IDS_TBADD3           "*p*q*"
86    IDS_TBADD4           "#p#q##"
87    IDS_TBADD5           "|p||q|r|"
88    IDS_TBADD7           "abracadabra"
89}
90
91/* @makedep: bmp128x15.bmp */
92IDB_BITMAP_128x15 BITMAP bmp128x15.bmp
93
94/* @makedep: bmp80x15.bmp */
95IDB_BITMAP_80x15 BITMAP bmp80x15.bmp
96
97IDD_PROP_PAGE_WITH_CUSTOM_DEFAULT_BUTTON DIALOG  5, 43, 227, 215
98STYLE WS_CHILD | WS_DISABLED
99FONT 8, "MS Shell Dlg"
100{
101    COMBOBOX        IDC_PS_COMBO1, 16, 68, 140, 60, CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
102    PUSHBUTTON      "Add", IDC_PS_PUSHBUTTON1, 164, 68, 40, 13
103}
104
105MULTI_EDIT_DIALOG DIALOG 0, 0, 160, 75
106STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER
107CAPTION "Multiple Edit Test"
108FONT 8, "MS Shell Dlg"
109{
110    EDITTEXT 1000, 5, 5, 150, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE | ES_WANTRETURN
111    EDITTEXT 1001, 5, 25, 150, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
112    EDITTEXT 1002, 5, 45, 150, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
113}
114
115EDIT_DIALOG DIALOG 0, 0, 160, 80
116STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER
117CAPTION "Edit Test"
118FONT 8, "MS Shell Dlg"
119{
120    PUSHBUTTON "OK", IDOK, 20, 60, 50, 14,  WS_CHILD | WS_VISIBLE | WS_TABSTOP
121    PUSHBUTTON "Cancel", IDCANCEL, 100, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
122    EDITTEXT 1000, 5, 5, 150, 50, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE | WS_VSCROLL | ES_AUTOVSCROLL
123}
124
125EDIT_READONLY_DIALOG DIALOG 0, 0, 160, 80
126STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER
127CAPTION "Edit Readonly Test"
128FONT 8, "MS Shell Dlg"
129{
130    PUSHBUTTON "OK", IDOK, 20, 60, 50, 14,  WS_CHILD | WS_VISIBLE | WS_TABSTOP
131    PUSHBUTTON "Cancel", IDCANCEL, 100, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
132    EDITTEXT 1000, 5, 5, 150, 50, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE | WS_VSCROLL | ES_AUTOVSCROLL | ES_READONLY
133}
134
135EDIT_WANTRETURN_DIALOG DIALOG 0, 0, 160, 80
136STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER
137CAPTION "Edit Test"
138FONT 8, "MS Shell Dlg"
139{
140    PUSHBUTTON "OK", IDOK, 20, 60, 50, 14,  WS_CHILD | WS_VISIBLE | WS_TABSTOP
141    PUSHBUTTON "Cancel", IDCANCEL, 100, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
142    EDITTEXT 1000, 5, 5, 150, 50, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE | WS_VSCROLL | ES_AUTOVSCROLL | ES_WANTRETURN
143}
144
145EDIT_SINGLELINE_DIALOG DIALOG 0, 0, 160, 80
146STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER
147CAPTION "Edit Test"
148FONT 8, "MS Shell Dlg"
149{
150    PUSHBUTTON "OK", IDOK, 20, 60, 50, 14,  WS_CHILD | WS_VISIBLE | WS_TABSTOP
151    PUSHBUTTON "Cancel", IDCANCEL, 100, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
152    EDITTEXT 1000, 5, 5, 150, 50, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | ES_AUTOVSCROLL
153}
154
155EDIT_SINGLELINE_WANTRETURN_DIALOG DIALOG 0, 0, 160, 80
156STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER
157CAPTION "Edit Test"
158FONT 8, "MS Shell Dlg"
159{
160    PUSHBUTTON "OK", IDOK, 20, 60, 50, 14,  WS_CHILD | WS_VISIBLE | WS_TABSTOP
161    PUSHBUTTON "Cancel", IDCANCEL, 100, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
162    EDITTEXT 1000, 5, 5, 150, 50, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | ES_AUTOVSCROLL | ES_WANTRETURN
163}
164