diff options
Diffstat (limited to 'src/test/dialog.rc')
-rw-r--r-- | src/test/dialog.rc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/test/dialog.rc b/src/test/dialog.rc index d280453..ed3508e 100644 --- a/src/test/dialog.rc +++ b/src/test/dialog.rc @@ -5,6 +5,7 @@ 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 @@ -21,3 +22,21 @@ TESTDLG DIALOG 10, 10, 500, 300 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 + } + } +} |