reactos/modules/rostests/apitests/user32/user32_apitest.rc
Doug Lyons ffd060295d
[USER32_APITEST] Test MSVC rc.exe compiled 32-bpp BI_BITFIELD bmp (#6755)
* Cleanup and Changes based on reviewer comments
* For failure, show returned and expected values

CORE-17005
2024-04-27 13:30:51 -05:00

56 lines
1.9 KiB
Plaintext

#include <windef.h>
#include <winuser.h>
#include <dlgs.h>
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDI_TEST ICON "test.ico"
TESTCURSOR CURSOR "test.cur"
IDR_ICONS_PNG RCDATA "ROS.ico"
IDR_ICONS_NORMAL RCDATA "sysicon.ico"
IDR_EXE_NORMAL RCDATA "cpimg2e.exe"
IDR_DLL_NORMAL RCDATA "image.dll"
TESTDIALOG DIALOG 0,0, 200,200
CLASS "TestDialogClass"
CAPTION "Testdialog"
FONT 8, "MS Shell Dlg"
{
PUSHBUTTON "a button", 1, 5,5, 100,20
}
NEXTDLGITEM DIALOG 0, 0, 281, 135
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "NextDlgItem"
FONT 8, "MS Shell Dlg"
{
CONTROL "rad1", rad1, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 30, 60, 14
CONTROL "rad2", rad2, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 50, 60, 14
CONTROL "rad3", rad3, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 70, 60, 14
CONTROL "psh1", psh1, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 93, 60, 60, 14
CONTROL "rad5", rad5, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 160, 30, 60, 14
CONTROL "rad6", rad6, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 160, 50, 60, 14
CONTROL "rad7", rad7, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 160, 70, 60, 14
CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 65, 98, 60, 14
CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 187, 100, 60, 14
}
REPOSITION DIALOG 0, 0, 200, 150
STYLE WS_OVERLAPPEDWINDOW
CAPTION "DM_REPOSITION"
FONT 8, "MS Shell Dlg"
{
}
SETFOCUS DIALOG 0, 0, 175, 101
CAPTION "user32_apitest SetFocus"
STYLE DS_CENTER | DS_MODALFRAME | WS_POPUPWINDOW | WS_CAPTION
FONT 9, "MS Shell Dlg"
{
DEFPUSHBUTTON "OK", IDOK, 14, 23, 60, 14
PUSHBUTTON "Cancel", IDCANCEL, 42, 45, 60, 14
PUSHBUTTON "psh1", psh1, 75, 73, 60, 14
}