1 /* Unit test suite for resources.
3 * Copyright 2004 Ferenc Wagner
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.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 "^N", 1000 /* Ctrl+'N' */
26 "N", 1001 /* Shift+'n' */
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' */
45 TEST_DIALOG DIALOG DISCARDABLE 0, 0, 60, 30
46 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
48 FONT 8, "MS Shell Dlg"
50 DEFPUSHBUTTON "OK", IDOK,4,4,50,14, WS_TABSTOP | WS_GROUP
53 RADIO_TEST_DIALOG DIALOGEX 0, 0, 160, 80
54 STYLE DS_SETFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
55 CAPTION "Radio Button Test Dialog"
56 FONT 8, "MS Shell Dlg"
58 GROUPBOX "Static", 100,6,5,92,70
59 CONTROL "Radio1", 200,"Button",BS_AUTORADIOBUTTON |
60 WS_GROUP | WS_TABSTOP,17,27,39,10
61 CONTROL "Radio2", 201,"Button",BS_AUTORADIOBUTTON,17,40,39,10
62 PUSHBUTTON "Cancel", IDCANCEL,109,20,50,14, WS_TABSTOP | WS_GROUP
65 CLASS_TEST_DIALOG DIALOG DISCARDABLE 0, 0, 91, 28
66 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
67 CAPTION "CreateDialogParams Test"
69 FONT 8, "MS Shell Dlg"
73 FOCUS_TEST_DIALOG DIALOG DISCARDABLE 0, 0, 60, 30
74 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CONTROL
76 FONT 8, "MS Shell Dlg"
78 EDITTEXT 200,4,4,50,14