mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
734247b529
Includes added or removed where necessary. Win16 functions replaced with their Win32 counterparts. Comments added where it was impossible. CALLBACK added where necessary. Some declarations fixed. Constructs like "#if WINDOWS" corrected. Using "#ifdef __unix__" instead. DlgProc in hello3 uses EndDialog() instead of DestroyWindow(). Listbox enabled in hello3.
26 lines
1 KiB
Text
26 lines
1 KiB
Text
#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 "", 105, "COMBOBOX", CBS_DROPDOWN | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 86, 13, 86, 85
|
|
CONTROL "", 106, "LISTBOX", LBS_STANDARD | LBS_DISABLENOSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 86, 33, 86, 85
|
|
END
|