home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C Programming Starter Kit 2.0
/
SamsPublishing-CProgrammingStarterKit-v2.0-Win31.iso
/
tybc4
/
rwmenu2.rc
< prev
next >
Wrap
Text File
|
1993-12-11
|
1KB
|
74 lines
#include <windows.h>
#include <owl\window.rh>
#include "rwmenu2.h"
LONGMENU MENU
{
POPUP "&File"
{
MENUITEM "&New", CM_FILENEW, GRAYED
MENUITEM "&Open", CM_FILEOPEN, GRAYED
MENUITEM "&Save", CM_FILESAVE, GRAYED
MENUITEM "Save&As", CM_FILESAVEAS, GRAYED
MENUITEM SEPARATOR
MENUITEM "Short &Menus", CM_SHORTMENU
MENUITEM SEPARATOR
MENUITEM "E&xit Alt+X", CM_EXIT
}
POPUP "&Edit"
{
MENUITEM "&Undo", CM_EDITUNDO, GRAYED
MENUITEM SEPARATOR
MENUITEM "C&ut Ctrl+X", CM_EDITCUT
MENUITEM "C&opy Ctrl+C", CM_EDITCOPY
MENUITEM "&Paste Ctrl+V", CM_EDITPASTE
MENUITEM "&Delete", CM_EDITDELETE, GRAYED
MENUITEM "&Clear", CM_EDITCLEAR, GRAYED
}
MENUITEM "&Help", CM_HELP, HELP
}
SHORTMENU MENU
{
POPUP "&File"
{
MENUITEM "&Open", CM_FILEOPEN, GRAYED
MENUITEM "Save&AS", CM_FILESAVEAS, GRAYED
MENUITEM SEPARATOR
MENUITEM "&Long Menus", CM_LONGMENU
MENUITEM SEPARATOR
MENUITEM "E&xit Alt+X", CM_EXIT
}
POPUP "&Edit"
{
MENUITEM "C&ut Ctrl+X", CM_EDITCUT
MENUITEM "C&opy Ctrl+C", CM_EDITCOPY
MENUITEM "&Paste Ctrl+V", CM_EDITPASTE
}
MENUITEM "&Help", CM_HELP, HELP
}
LONGMENU ACCELERATORS
{
"^X", CM_EDITCUT
"^C", CM_EDITCOPY
"^V", CM_EDITPASTE
"x", CM_EXIT, ASCII, ALT
}
SHORTMENU ACCELERATORS
{
"x", CM_EXIT, ASCII, ALT
"^X", CM_EDITCUT
"^C", CM_EDITCOPY
"^V", CM_EDITPASTE, ASCII
}