2006-09-20 17:41:30 +02:00
|
|
|
/* Resources for the common control unit test suite.
|
|
|
|
*
|
|
|
|
* Copyright 2006 Huw Davies
|
|
|
|
* Copyright 2006 Mikolaj Zalewski
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winuser.h"
|
|
|
|
#include "resources.h"
|
|
|
|
|
2010-07-21 23:50:43 +02:00
|
|
|
PROP_PAGE1 DIALOG 5, 43, 227, 215
|
2006-09-20 17:41:30 +02:00
|
|
|
STYLE WS_POPUP | WS_CAPTION | WS_CLIPSIBLINGS | WS_VISIBLE
|
|
|
|
CAPTION "Page1"
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
{
|
|
|
|
LTEXT "Test", -1, 10, 6, 100, 8
|
|
|
|
}
|
|
|
|
|
2010-07-21 23:50:43 +02:00
|
|
|
IDD_PROP_PAGE_INTRO DIALOG 5, 43, 227, 215
|
2009-08-14 00:36:56 +02:00
|
|
|
STYLE WS_POPUP | WS_CAPTION | WS_CLIPSIBLINGS | WS_VISIBLE
|
|
|
|
CAPTION "Edit Control Page"
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
{
|
|
|
|
LTEXT "This is a test property sheet!", -1, 10, 6, 100, 8
|
|
|
|
}
|
|
|
|
|
2010-07-21 23:50:43 +02:00
|
|
|
IDD_PROP_PAGE_EDIT DIALOG 5, 43, 227, 215
|
2009-08-14 00:36:56 +02:00
|
|
|
STYLE WS_POPUP | WS_CAPTION | WS_CLIPSIBLINGS | WS_VISIBLE
|
|
|
|
CAPTION "Edit Control Page"
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
{
|
|
|
|
EDITTEXT IDC_PS_EDIT1, 5, 5, 150, 140, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE
|
|
|
|
EDITTEXT IDC_PS_EDIT2, 5, 160, 150, 28, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE
|
|
|
|
}
|
|
|
|
|
2010-07-21 23:50:43 +02:00
|
|
|
IDD_PROP_PAGE_RADIO DIALOG 5, 43, 227, 215
|
2009-08-14 00:36:56 +02:00
|
|
|
STYLE WS_POPUP | WS_CAPTION | WS_CLIPSIBLINGS | WS_VISIBLE
|
|
|
|
CAPTION "Edit Control Page"
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
{
|
|
|
|
CONTROL "Radio1", IDC_PS_RADIO1, "Button", BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP, 20, 20, 39, 10
|
|
|
|
CONTROL "Radio2", IDC_PS_RADIO2, "Button", BS_AUTORADIOBUTTON, 20, 40, 39, 10
|
|
|
|
}
|
|
|
|
|
2010-07-21 23:50:43 +02:00
|
|
|
IDD_PROP_PAGE_EXIT DIALOG 5, 43, 227, 215
|
2009-08-14 00:36:56 +02:00
|
|
|
STYLE WS_POPUP | WS_CAPTION | WS_CLIPSIBLINGS | WS_VISIBLE
|
|
|
|
CAPTION "Edit Control Page"
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
{
|
|
|
|
LTEXT "This has been a test property sheet!", -1, 10, 6, 170, 8
|
|
|
|
}
|
|
|
|
|
2012-02-07 10:18:59 +01:00
|
|
|
IDD_PROP_PAGE_MESSAGE_TEST DIALOG 0, 0, 339, 179
|
2010-11-06 09:54:12 +01:00
|
|
|
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_CHILD | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
|
|
CAPTION "Message Test"
|
|
|
|
BEGIN
|
|
|
|
LTEXT "Some Text",-1,115,1,195,24
|
|
|
|
END
|
|
|
|
|
2012-08-29 18:29:47 +02:00
|
|
|
IDD_PROP_PAGE_ERROR DIALOG 0, 0, 100, 100
|
|
|
|
STYLE WS_POPUP | WS_CAPTION | WS_CLIPSIBLINGS | WS_VISIBLE
|
|
|
|
CLASS "Non-existing class"
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2006-09-26 21:30:26 +02:00
|
|
|
STRINGTABLE
|
|
|
|
{
|
|
|
|
IDS_TBADD1 "abc"
|
|
|
|
IDS_TBADD2 "|p|q|r"
|
|
|
|
IDS_TBADD3 "*p*q*"
|
|
|
|
IDS_TBADD4 "#p#q##"
|
|
|
|
IDS_TBADD5 "|p||q|r|"
|
|
|
|
IDS_TBADD7 "abracadabra"
|
|
|
|
}
|
|
|
|
|
2007-09-17 16:11:26 +02:00
|
|
|
/* @makedep: bmp128x15.bmp */
|
2006-09-20 17:41:30 +02:00
|
|
|
IDB_BITMAP_128x15 BITMAP bmp128x15.bmp
|
|
|
|
|
2007-09-17 16:11:26 +02:00
|
|
|
/* @makedep: bmp80x15.bmp */
|
2006-09-20 17:41:30 +02:00
|
|
|
IDB_BITMAP_80x15 BITMAP bmp80x15.bmp
|
2010-05-29 23:12:06 +02:00
|
|
|
|
2010-07-21 23:50:43 +02:00
|
|
|
IDD_PROP_PAGE_WITH_CUSTOM_DEFAULT_BUTTON DIALOG 5, 43, 227, 215
|
2010-05-29 23:12:06 +02:00
|
|
|
STYLE WS_CHILD | WS_DISABLED
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
{
|
2017-08-31 17:47:43 +02:00
|
|
|
COMBOBOX IDC_PS_COMBO1, 16, 68, 140, 60, CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
|
2010-05-29 23:12:06 +02:00
|
|
|
PUSHBUTTON "Add", IDC_PS_PUSHBUTTON1, 164, 68, 40, 13
|
|
|
|
}
|
2017-12-18 09:35:33 +01:00
|
|
|
|
|
|
|
MULTI_EDIT_DIALOG DIALOG 0, 0, 160, 75
|
|
|
|
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER
|
|
|
|
CAPTION "Multiple Edit Test"
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
{
|
|
|
|
EDITTEXT 1000, 5, 5, 150, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE | ES_WANTRETURN
|
|
|
|
EDITTEXT 1001, 5, 25, 150, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
|
|
EDITTEXT 1002, 5, 45, 150, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
|
|
}
|
|
|
|
|
|
|
|
EDIT_DIALOG DIALOG 0, 0, 160, 80
|
|
|
|
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER
|
|
|
|
CAPTION "Edit Test"
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
{
|
|
|
|
PUSHBUTTON "OK", IDOK, 20, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
|
|
PUSHBUTTON "Cancel", IDCANCEL, 100, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
|
|
EDITTEXT 1000, 5, 5, 150, 50, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE | WS_VSCROLL | ES_AUTOVSCROLL
|
|
|
|
}
|
|
|
|
|
|
|
|
EDIT_READONLY_DIALOG DIALOG 0, 0, 160, 80
|
|
|
|
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER
|
|
|
|
CAPTION "Edit Readonly Test"
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
{
|
|
|
|
PUSHBUTTON "OK", IDOK, 20, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
|
|
PUSHBUTTON "Cancel", IDCANCEL, 100, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
|
|
EDITTEXT 1000, 5, 5, 150, 50, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE | WS_VSCROLL | ES_AUTOVSCROLL | ES_READONLY
|
|
|
|
}
|
|
|
|
|
|
|
|
EDIT_WANTRETURN_DIALOG DIALOG 0, 0, 160, 80
|
|
|
|
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER
|
|
|
|
CAPTION "Edit Test"
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
{
|
|
|
|
PUSHBUTTON "OK", IDOK, 20, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
|
|
PUSHBUTTON "Cancel", IDCANCEL, 100, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
|
|
EDITTEXT 1000, 5, 5, 150, 50, WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_MULTILINE | WS_VSCROLL | ES_AUTOVSCROLL | ES_WANTRETURN
|
|
|
|
}
|
|
|
|
|
|
|
|
EDIT_SINGLELINE_DIALOG DIALOG 0, 0, 160, 80
|
|
|
|
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER
|
|
|
|
CAPTION "Edit Test"
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
{
|
|
|
|
PUSHBUTTON "OK", IDOK, 20, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
|
|
PUSHBUTTON "Cancel", IDCANCEL, 100, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
|
|
EDITTEXT 1000, 5, 5, 150, 50, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | ES_AUTOVSCROLL
|
|
|
|
}
|
|
|
|
|
|
|
|
EDIT_SINGLELINE_WANTRETURN_DIALOG DIALOG 0, 0, 160, 80
|
|
|
|
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | DS_CENTER
|
|
|
|
CAPTION "Edit Test"
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
{
|
|
|
|
PUSHBUTTON "OK", IDOK, 20, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
|
|
PUSHBUTTON "Cancel", IDCANCEL, 100, 60, 50, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
|
|
EDITTEXT 1000, 5, 5, 150, 50, WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_VSCROLL | ES_AUTOVSCROLL | ES_WANTRETURN
|
|
|
|
}
|