1#include <windef.h> 2#include <winuser.h> 3#include <dlgs.h> 4#include "resource.h" 5 6LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL 7 8IDI_TEST ICON "test.ico" 9TESTCURSOR CURSOR "test.cur" 10 11TESTDIALOG DIALOG 0,0, 200,200 12CLASS "TestDialogClass" 13CAPTION "Testdialog" 14FONT 8, "MS Shell Dlg" 15{ 16 PUSHBUTTON "a button", 1, 5,5, 100,20 17} 18 19NEXTDLGITEM DIALOG 0, 0, 281, 135 20STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 21CAPTION "NextDlgItem" 22FONT 8, "MS Shell Dlg" 23{ 24 CONTROL "rad1", rad1, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 30, 60, 14 25 CONTROL "rad2", rad2, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 50, 60, 14 26 CONTROL "rad3", rad3, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 70, 60, 14 27 CONTROL "psh1", psh1, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 93, 60, 60, 14 28 CONTROL "rad5", rad5, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 160, 30, 60, 14 29 CONTROL "rad6", rad6, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 160, 50, 60, 14 30 CONTROL "rad7", rad7, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 160, 70, 60, 14 31 CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 65, 98, 60, 14 32 CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 187, 100, 60, 14 33} 34 35REPOSITION DIALOG 0, 0, 200, 150 36STYLE WS_OVERLAPPEDWINDOW 37CAPTION "DM_REPOSITION" 38FONT 8, "MS Shell Dlg" 39{ 40} 41