28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
#include <windows.h>
|
|
|
|
MAIN MENU
|
|
{
|
|
POPUP "Menu demo" {
|
|
MENUITEM "Dialog Demo", 100
|
|
MENUITEM "Bitmap Demo", 101
|
|
MENUITEM "Open...", 102
|
|
}
|
|
}
|
|
|
|
BITDEMO BITMAP "../rc/winelogo.bmp"
|
|
|
|
DIADEMO DIALOG 20, 20, 179, 118
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_POPUP | WS_VISIBLE | WS_SYSMENU
|
|
CAPTION "Dialog demo"
|
|
FONT 8, "Helv"
|
|
BEGIN
|
|
CONTROL "Pushbutton", 100, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 14, 92, 52, 13
|
|
CONTROL "Checkbox", 101, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 19, 76, 47, 12
|
|
CONTROL "Static text", 102, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 17, 60, 39, 10
|
|
CONTROL "Edit control", 103, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 18, 41, 44, 13
|
|
CONTROL "Radio button", 104, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 17, 23, 58, 12
|
|
CONTROL "Checkbox", 101, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 19, 76, 47, 12
|
|
CONTROL "", 106, "COMBOBOX", CBS_DROPDOWN | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 86, 23, 86, 85
|
|
/* CONTROL "", 106, "LISTBOX", LBS_STANDARD | LBS_DISABLENOSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 86, 23, 86, 85 */
|
|
END
|