1c2c66affSColin Finck#include <windef.h>
2c2c66affSColin Finck#include <winuser.h>
3c2c66affSColin Finck#include <dlgs.h>
4c2c66affSColin Finck#include "resource.h"
5c2c66affSColin Finck
6c2c66affSColin FinckLANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
7c2c66affSColin Finck
8c2c66affSColin FinckIDI_TEST ICON "test.ico"
9c2c66affSColin FinckTESTCURSOR CURSOR "test.cur"
10c2c66affSColin Finck
11454a27cdSDoug LyonsIDR_ICONS_PNG RCDATA "ROS.ico"
12454a27cdSDoug LyonsIDR_ICONS_NORMAL RCDATA "sysicon.ico"
13c00d41d9SDoug LyonsIDR_EXE_NORMAL RCDATA "cpimg2e.exe"
14*ffd06029SDoug LyonsIDR_DLL_NORMAL RCDATA "image.dll"
15454a27cdSDoug Lyons
16c2c66affSColin FinckTESTDIALOG DIALOG 0,0, 200,200
17c2c66affSColin FinckCLASS "TestDialogClass"
18c2c66affSColin FinckCAPTION  "Testdialog"
19c2c66affSColin FinckFONT 8, "MS Shell Dlg"
20c2c66affSColin Finck{
21c2c66affSColin Finck    PUSHBUTTON "a button", 1, 5,5, 100,20
22c2c66affSColin Finck}
23c2c66affSColin Finck
24c2c66affSColin FinckNEXTDLGITEM DIALOG 0, 0, 281, 135
25c2c66affSColin FinckSTYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
26c2c66affSColin FinckCAPTION "NextDlgItem"
27c2c66affSColin FinckFONT 8, "MS Shell Dlg"
28c2c66affSColin Finck{
29c2c66affSColin Finck    CONTROL "rad1", rad1, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 30, 60, 14
30c2c66affSColin Finck    CONTROL "rad2", rad2, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 50, 60, 14
31c2c66affSColin Finck    CONTROL "rad3", rad3, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 70, 60, 14
32c2c66affSColin Finck    CONTROL "psh1", psh1, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 93, 60, 60, 14
33c2c66affSColin Finck    CONTROL "rad5", rad5, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 160, 30, 60, 14
34c2c66affSColin Finck    CONTROL "rad6", rad6, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 160, 50, 60, 14
35c2c66affSColin Finck    CONTROL "rad7", rad7, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 160, 70, 60, 14
36c2c66affSColin Finck    CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 65, 98, 60, 14
37c2c66affSColin Finck    CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 187, 100, 60, 14
38c2c66affSColin Finck}
39bef841c3SKatayama Hirofumi MZ
40bef841c3SKatayama Hirofumi MZREPOSITION DIALOG 0, 0, 200, 150
412a93f61fSKatayama Hirofumi MZSTYLE WS_OVERLAPPEDWINDOW
42bef841c3SKatayama Hirofumi MZCAPTION "DM_REPOSITION"
43bef841c3SKatayama Hirofumi MZFONT 8, "MS Shell Dlg"
44bef841c3SKatayama Hirofumi MZ{
45bef841c3SKatayama Hirofumi MZ}
4694d9e9c2SKatayama Hirofumi MZ
4794d9e9c2SKatayama Hirofumi MZSETFOCUS DIALOG 0, 0, 175, 101
4894d9e9c2SKatayama Hirofumi MZCAPTION "user32_apitest SetFocus"
4994d9e9c2SKatayama Hirofumi MZSTYLE DS_CENTER | DS_MODALFRAME | WS_POPUPWINDOW | WS_CAPTION
5094d9e9c2SKatayama Hirofumi MZFONT 9, "MS Shell Dlg"
5194d9e9c2SKatayama Hirofumi MZ{
5294d9e9c2SKatayama Hirofumi MZ    DEFPUSHBUTTON "OK", IDOK, 14, 23, 60, 14
5394d9e9c2SKatayama Hirofumi MZ    PUSHBUTTON "Cancel", IDCANCEL, 42, 45, 60, 14
5494d9e9c2SKatayama Hirofumi MZ    PUSHBUTTON "psh1", psh1, 75, 73, 60, 14
5594d9e9c2SKatayama Hirofumi MZ}
56