1/* Resources for the common dialog unit test suite. 2 * 3 * Copyright 2008 CodeWeavers, Aric Stewart 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 23TEMPLATE1 DIALOG 5, 43, 227, 215 24STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS 25FONT 8, "MS Shell Dlg" 26{ 27 LTEXT "Path:",-1,28,4,36,8 28 LTEXT "Text1",-1,4,16,20,40 29 LTEXT "Selected:",-1,32,49,40,8 30 EDITTEXT 55,74,47,200,12,ES_AUTOHSCROLL 31 LTEXT "Text2",-1,232,20,65,8 32 LTEXT "",-1,28,16,204,31 33 EDITTEXT 56,65,2,200,12,ES_AUTOHSCROLL 34} 35 36/* Used by the resize file dialog tests. 37 * Keep this template small or get failures 38 * resizing on small desk tops. 39 * This will work with 640x480 pixels 40 */ 41TEMPLATE_SZ DIALOG 5, 43, 300, 40 42STYLE WS_CHILD | WS_CLIPSIBLINGS 43FONT 8, "MS Shell Dlg" 44{ 45 LTEXT "Path:",-1,28,4,36,8 46 LTEXT "Text1",-1,4,16,20,40 47 LTEXT "Text2",-1,232,20,65,8 48 LTEXT "",-1,28,16,204,31 49 EDITTEXT 56,65,2,200,12,ES_AUTOHSCROLL 50} 51 52/* note: the test program will modify coordinates and nr of controls in this template */ 53TEMPLATE_STC32 DIALOG 11111, 0, 316, 76 54STYLE WS_CHILD | WS_CLIPSIBLINGS 55FONT 8, "MS Shell Dlg" 56{ 57 LTEXT "", 1119, 22222, 0, 204, 76 58 PUSHBUTTON "TEST", -1, 12345, 0, 20, 20 59} 60