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 81IDD_PROP_PAGE_BAD_CONTROL DIALOG 0, 0, 100, 100 82STYLE WS_POPUP | WS_CAPTION | WS_CLIPSIBLINGS | WS_VISIBLE 83FONT 8, "MS Shell Dlg" 84{ 85 CONTROL "", -1, "invalid class", 0, 0, 0, 0, 0 86} 87 88STRINGTABLE 89{ 90 IDS_TBADD1 "abc" 91 IDS_TBADD2 "|p|q|r" 92 IDS_TBADD3 "*p*q*" 93 IDS_TBADD4 "#p#q##" 94 IDS_TBADD5 "|p||q|r|" 95 IDS_TBADD7 "abracadabra" 96} 97 98/* @makedep: bmp128x15.bmp */ 99IDB_BITMAP_128x15 BITMAP bmp128x15.bmp 100 101/* @makedep: bmp80x15.bmp */ 102IDB_BITMAP_80x15 BITMAP bmp80x15.bmp 103 104IDD_PROP_PAGE_WITH_CUSTOM_DEFAULT_BUTTON DIALOG 5, 43, 227, 215 105STYLE WS_CHILD | WS_DISABLED 106FONT 8, "MS Shell Dlg" 107{ 108 COMBOBOX IDC_PS_COMBO1, 16, 68, 140, 60, CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP 109 PUSHBUTTON "Add", IDC_PS_PUSHBUTTON1, 164, 68, 40, 13 110} 111 112MULTI_EDIT_DIALOG DIALOG 0, 0, 160, 75 113STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER 114CAPTION "Multiple Edit Test" 115FONT 8, "MS Shell Dlg" 116{ 117 EDITTEXT 1000, 5, 5, 150, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE | ES_WANTRETURN 118 EDITTEXT 1001, 5, 25, 150, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP 119 EDITTEXT 1002, 5, 45, 150, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP 120} 121 122EDIT_DIALOG DIALOG 0, 0, 160, 80 123STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER 124CAPTION "Edit Test" 125FONT 8, "MS Shell Dlg" 126{ 127 PUSHBUTTON "OK", IDOK, 20, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP 128 PUSHBUTTON "Cancel", IDCANCEL, 100, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP 129 EDITTEXT 1000, 5, 5, 150, 50, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE | WS_VSCROLL | ES_AUTOVSCROLL 130} 131 132EDIT_READONLY_DIALOG DIALOG 0, 0, 160, 80 133STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER 134CAPTION "Edit Readonly Test" 135FONT 8, "MS Shell Dlg" 136{ 137 PUSHBUTTON "OK", IDOK, 20, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP 138 PUSHBUTTON "Cancel", IDCANCEL, 100, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP 139 EDITTEXT 1000, 5, 5, 150, 50, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE | WS_VSCROLL | ES_AUTOVSCROLL | ES_READONLY 140} 141 142EDIT_WANTRETURN_DIALOG DIALOG 0, 0, 160, 80 143STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER 144CAPTION "Edit Test" 145FONT 8, "MS Shell Dlg" 146{ 147 PUSHBUTTON "OK", IDOK, 20, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP 148 PUSHBUTTON "Cancel", IDCANCEL, 100, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP 149 EDITTEXT 1000, 5, 5, 150, 50, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE | WS_VSCROLL | ES_AUTOVSCROLL | ES_WANTRETURN 150} 151 152EDIT_SINGLELINE_DIALOG DIALOG 0, 0, 160, 80 153STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER 154CAPTION "Edit Test" 155FONT 8, "MS Shell Dlg" 156{ 157 PUSHBUTTON "OK", IDOK, 20, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP 158 PUSHBUTTON "Cancel", IDCANCEL, 100, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP 159 EDITTEXT 1000, 5, 5, 150, 50, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | ES_AUTOVSCROLL 160} 161 162EDIT_SINGLELINE_WANTRETURN_DIALOG DIALOG 0, 0, 160, 80 163STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER 164CAPTION "Edit Test" 165FONT 8, "MS Shell Dlg" 166{ 167 PUSHBUTTON "OK", IDOK, 20, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP 168 PUSHBUTTON "Cancel", IDCANCEL, 100, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP 169 EDITTEXT 1000, 5, 5, 150, 50, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | ES_AUTOVSCROLL | ES_WANTRETURN 170} 171