#include #include "dialog.h" TESTDLG DIALOG 10, 10, 500, 300 STYLE WS_POPUP | WS_BORDER CAPTION "Test Dialog" FONT 8,"MS Shell Dlg" MENU IDMENU { PUSHBUTTON "Try Me!", IDBUTTON, 10, 10, 150, 18 AUTOCHECKBOX "Check", IDCHECK, 10,30,150,18 PUSHBUTTON "Quit", IDQUIT, 10,50,150,18 EDITTEXT IDLOADTXT, 10, 100, 200, 12, ES_READONLY PUSHBUTTON "Load ...",IDLOADBUT, 10, 115, 100, 18 EDITTEXT IDSAVETXT, 10, 140, 200, 12, ES_READONLY PUSHBUTTON "Save ...",IDSAVEBUT, 10, 155, 100, 18 COMBOBOX IDCOMBO, 10, 180, 100, 100, CBS_SIMPLE | CBS_SORT | WS_VSCROLL | WS_TABSTOP LTEXT "Text:", IDSTATIC1, 210, 10, 35, 12 EDITTEXT IDTEXT, 250, 10, 100, 100, ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_MULTILINE | ES_WANTRETURN } IDMENU MENU { POPUP "File" { MENUITEM "Load", IDMENULOAD MENUITEM "Save", IDMENUSAVE MENUITEM "Quit", IDMENUQUIT } POPUP "Test" { MENUITEM "Test Item 1", IDMENUTESTITEM1 POPUP "Sub" { MENUITEM "Test Item 2", IDMENUTESTITEM2 } } }