diff options
author | Ian C <ianc@noddybox.co.uk> | 2005-04-02 01:53:30 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2005-04-02 01:53:30 +0000 |
commit | 98164e7547f7ea21204e69885158cd0494e08c5d (patch) | |
tree | 24d0957da8fb5fd68481e10d442cfbb534ff4494 /src/test/dialog.rc | |
parent | effc648f262bd3bd7b57d4e76db2f768510be55c (diff) |
Added simple support for dialog menus
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 + } + } +} |