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 11IDR_ICONS_PNG RCDATA "ROS.ico" 12IDR_ICONS_NORMAL RCDATA "sysicon.ico" 13IDR_EXE_NORMAL RCDATA "cpimg2e.exe" 14IDR_DLL_NORMAL RCDATA "image.dll" 15 16TESTDIALOG DIALOG 0,0, 200,200 17CLASS "TestDialogClass" 18CAPTION "Testdialog" 19FONT 8, "MS Shell Dlg" 20{ 21 PUSHBUTTON "a button", 1, 5,5, 100,20 22} 23 24NEXTDLGITEM DIALOG 0, 0, 281, 135 25STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 26CAPTION "NextDlgItem" 27FONT 8, "MS Shell Dlg" 28{ 29 CONTROL "rad1", rad1, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 30, 60, 14 30 CONTROL "rad2", rad2, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 50, 60, 14 31 CONTROL "rad3", rad3, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 70, 60, 14 32 CONTROL "psh1", psh1, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 93, 60, 60, 14 33 CONTROL "rad5", rad5, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 160, 30, 60, 14 34 CONTROL "rad6", rad6, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 160, 50, 60, 14 35 CONTROL "rad7", rad7, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 160, 70, 60, 14 36 CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 65, 98, 60, 14 37 CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 187, 100, 60, 14 38} 39 40REPOSITION DIALOG 0, 0, 200, 150 41STYLE WS_OVERLAPPEDWINDOW 42CAPTION "DM_REPOSITION" 43FONT 8, "MS Shell Dlg" 44{ 45} 46 47SETFOCUS DIALOG 0, 0, 175, 101 48CAPTION "user32_apitest SetFocus" 49STYLE DS_CENTER | DS_MODALFRAME | WS_POPUPWINDOW | WS_CAPTION 50FONT 9, "MS Shell Dlg" 51{ 52 DEFPUSHBUTTON "OK", IDOK, 14, 23, 60, 14 53 PUSHBUTTON "Cancel", IDCANCEL, 42, 45, 60, 14 54 PUSHBUTTON "psh1", psh1, 75, 73, 60, 14 55} 56