mirror of
https://github.com/reactos/reactos.git
synced 2024-11-06 06:33:08 +00:00
833738127d
- Patch by Katayama Hirofumi MZ : Add a test for Next Dialog Item for radio buttons. svn path=/trunk/; revision=73468
33 lines
1.4 KiB
Text
33 lines
1.4 KiB
Text
#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"
|
|
|
|
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
|
|
}
|