home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BUG 2
/
BUGCD1997_01.iso
/
aplikac
/
winedit
/
weextsrc.zi_
/
WE_EXT.RC
< prev
next >
Wrap
Text File
|
1994-10-22
|
6KB
|
136 lines
#include <windows.h>
#include "we_extrc.h"
#include "private.h"
#include "we_ext.dlg"
/* short menu */
MyShortMenu MENU PRELOAD
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New", IDM_FILENEW
MENUITEM "&Open...", IDM_FILEOPEN
MENUITEM "Pre&vious files...", IDM_FILELIST
MENUITEM "O&pen Project...", IDM_MAKECONFIG
MENUITEM SEPARATOR
MENUITEM "Pr&eferences...", IDM_FILESETPREF
MENUITEM "&Key Assignments...", IDM_FILEKEYS
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_FILEEXIT
END
POPUP "&Help"
BEGIN
MENUITEM "&Index", IDM_HELPINDEX
MENUITEM "&Keyboard", IDM_HELPKEYBOARD
MENUITEM "&Commands", IDM_HELPCOMMANDS
MENUITEM "&Procedures", IDM_HELPPROCEDURES
MENUITEM "&Using Help", IDM_HELPHELP
MENUITEM SEPARATOR
MENUITEM "&About WinEdit...", IDM_HELPABOUT
END
END
/* full menu */
MyMenu MENU PRELOAD
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New", IDM_FILENEW
MENUITEM "&Open...", IDM_FILEOPEN
MENUITEM "&Merge...", IDM_FILEMERGE
MENUITEM "Pre&vious files...", IDM_FILELIST
MENUITEM "&Difference...", IDM_FILEDIFF
MENUITEM "&Close", IDM_WINDOWCLOSE
MENUITEM SEPARATOR
MENUITEM "&Save", IDM_FILESAVE
MENUITEM "Save &As...", IDM_FILESAVEAS
MENUITEM "Save A&ll...", IDM_FILESAVEALL
MENUITEM SEPARATOR
MENUITEM "&Print...", IDM_FILEPRINT
MENUITEM "Page Se&tup...", IDM_FILEPAGESETUP
MENUITEM "P&rinter Setup...", IDM_FILEPRINTERSETUP
MENUITEM SEPARATOR
MENUITEM "Pr&eferences...", IDM_FILESETPREF
MENUITEM "&Key Assignments...", IDM_FILEKEYS
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_FILEEXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Undo", IDM_EDITUNDO
MENUITEM "&Redo", IDM_EDITREDO
MENUITEM SEPARATOR
MENUITEM "Cu&t", IDM_EDITCUT
MENUITEM "&Copy", IDM_EDITCOPY
MENUITEM "&Paste", IDM_EDITPASTE
MENUITEM "C&lear", IDM_EDITCLEAR
MENUITEM SEPARATOR
MENUITEM "&Insert Mode", IDM_EDITTOGGLEINS
MENUITEM "&Auto Indent", IDM_EDITTOGGLEAUTOINDENT
MENUITEM "Column &Block", IDM_EDITSETCOLUMNBLOCK
MENUITEM SEPARATOR
MENUITEM "&Select All", IDM_EDITSELECTALL
END
POPUP "&Search"
BEGIN
MENUITEM "&Find...", IDM_SEARCHFIND
MENUITEM "&Repeat Last Find", IDM_SEARCHNEXT
MENUITEM "&Change...", IDM_SEARCHCHANGE
MENUITEM "Find Matching &Brace", IDM_SEARCHBRACE
MENUITEM SEPARATOR
MENUITEM "&Next Error", IDM_SEARCHNEXTERR
MENUITEM "&Previous Error", IDM_SEARCHPREVERR
MENUITEM "&View Compiler Output", IDM_SEARCHVIEWEDOUT
MENUITEM SEPARATOR
MENUITEM "&Go to line...", IDM_EDITGOTOLINE
MENUITEM "Gr&ep...\tF8" EXT_EXAMPLE
END
POPUP "&Project"
BEGIN
MENUITEM "&Compile", IDM_COMPILE
MENUITEM "&Make", IDM_MAKE
MENUITEM "&Rebuild", IDM_REBUILD
MENUITEM "&Debug", IDM_DEBUG
MENUITEM "&Execute", IDM_EXECUTE
MENUITEM SEPARATOR
MENUITEM "Con&figure...", IDM_MAKECONFIG
END
POPUP "&Window"
BEGIN
MENUITEM "&New", IDM_WINDOWNEW
MENUITEM "&Tile", IDM_WINDOWTILE
MENUITEM "&Cascade", IDM_WINDOWCASCADE
MENUITEM "Ne&xt", IDM_WINDOWNEXT
MENUITEM "Arrange &Icons", IDM_WINDOWICONS
MENUITEM "Close &All", IDM_WINDOWCLOSEALL
END
POPUP "&Help"
BEGIN
MENUITEM "&Index", IDM_HELPINDEX
MENUITEM "&Keyboard", IDM_HELPKEYBOARD
MENUITEM "&Commands", IDM_HELPCOMMANDS
MENUITEM "&Procedures", IDM_HELPPROCEDURES
MENUITEM "&Key Word Help", IDM_HELPKEYWORDS
MENUITEM "&Using Help", IDM_HELPHELP
MENUITEM SEPARATOR
MENUITEM "&About WinEdit...", IDM_HELPABOUT
END
END
/* frame menu accelerators */
MyAccels ACCELERATORS PRELOAD
BEGIN
/* it's only necessary to map changed or new commands, */
/* default or user-defined accelerators will be used */
/* for all others */
VK_F8, EXT_EXAMPLE, VIRTKEY /* new command */
"^I", EXT_IF /* new command */
"^F", EXT_FOR /* new command */
"^S", EXT_SWITCH /* new command */
END