112 lines
3.2 KiB
Plaintext
112 lines
3.2 KiB
Plaintext
|
|
#include "logview.h"
|
|
#include "version.h"
|
|
|
|
IDLOGVIEW ICON FV300.ico // main icon
|
|
LogView ICON FV300.ICO
|
|
IDNOTE ICON note300.ico // icon for child windows
|
|
|
|
// frame window menu
|
|
|
|
IDLOGVIEW MENU
|
|
BEGIN
|
|
POPUP "&File"
|
|
BEGIN
|
|
MENUITEM "&Open...", IDM_FILEOPEN
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Print", IDM_FILEPRINT
|
|
MENUITEM "Printer Se&tup...", IDM_FILESETUP
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "E&xit", IDM_FILEEXIT
|
|
END
|
|
POPUP "&Search"
|
|
BEGIN
|
|
MENUITEM "&Find...", IDM_SEARCHFIND
|
|
MENUITEM "&Next\tF3", IDM_SEARCHNEXT
|
|
MENUITEM "&Previous\tF4", IDM_SEARCHPREV
|
|
END
|
|
POPUP "&Window"
|
|
BEGIN
|
|
MENUITEM "&Tile", IDM_WINDOWTILE
|
|
MENUITEM "&Cascade", IDM_WINDOWCASCADE
|
|
MENUITEM "Arrange &Icons", IDM_WINDOWICONS
|
|
MENUITEM "Close &All", IDM_WINDOWCLOSEALL
|
|
END
|
|
POPUP "&Help"
|
|
{
|
|
MENUITEM "&Contents", ID_HELP_CONT
|
|
MENUITEM "&Search for Help on...", ID_HELP_INDEX
|
|
MENUITEM "&How to Use Help", ID_HELP_USING
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&About LogView...", IDM_HELPABOUT
|
|
}
|
|
END
|
|
|
|
// short frame window menu
|
|
IDLOGVIEW2 MENU
|
|
BEGIN
|
|
POPUP "&File"
|
|
BEGIN
|
|
MENUITEM "&Open...", IDM_FILEOPEN
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Print...", IDM_FILEPRINT
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "E&xit", IDM_FILEEXIT
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&About logview...", IDM_HELPABOUT
|
|
END
|
|
POPUP "&Window"
|
|
BEGIN
|
|
MENUITEM "&Arrange", IDM_WINDOWTILE
|
|
END
|
|
END
|
|
|
|
// frame menu accelerators
|
|
|
|
IDLOGVIEW ACCELERATORS
|
|
BEGIN
|
|
VK_INSERT, IDM_EDITCOPY, VIRTKEY, CONTROL
|
|
VK_INSERT, IDM_EDITPASTE, VIRTKEY, SHIFT
|
|
VK_DELETE, IDM_EDITCUT, VIRTKEY, SHIFT
|
|
VK_BACK, IDM_EDITUNDO, VIRTKEY, ALT
|
|
VK_F5, IDM_EDITTIME, VIRTKEY
|
|
VK_F3, IDM_SEARCHNEXT, VIRTKEY
|
|
VK_F4, IDM_SEARCHPREV, VIRTKEY
|
|
VK_F1, IDM_HELPHELP, VIRTKEY
|
|
VK_F1, IDM_HELPSPOT, VIRTKEY, SHIFT
|
|
END
|
|
|
|
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
|
|
IDS_CANTOPEN "Can't open the file '%s'"
|
|
IDS_CANTREAD "Can't read the file '%s'"
|
|
IDS_CANTCREATE "Can't create the file '%s'"
|
|
IDS_CANTWRITE "Can't write the file '%s'"
|
|
IDS_ADDEXT ".TXT"
|
|
IDS_ILLFNM "Invalid filename: '%s'"
|
|
IDS_CLOSESAVE "%s has been changed. Save file before closing?"
|
|
IDS_CANTFIND "Can't find '%s'"
|
|
IDS_HELPNOTAVAIL "Can't load Windows Help application"
|
|
IDS_CLIENTTITLE "LogView App, Version 3.51"
|
|
IDS_UNTITLED "Untitled"
|
|
IDS_PRINTJOB "LogView - "
|
|
IDS_PRINTERROR "Cannot print %s!"
|
|
IDS_APPNAME "LogView"
|
|
IDS_CANTFINDSTR "Can't find string"
|
|
|
|
IDS_DISK_SPACE_UNAVAIL "Unavailable"
|
|
IDS_DISK_SPACE "%lu KB Free"
|
|
IDS_MATH_COPR_NOTPRESENT "Not present"
|
|
IDS_MATH_COPR_PRESENT "Present"
|
|
IDS_PHYSICAL_MEM "%lu KB Free"
|
|
|
|
IDS_OPENTEXT "Open TextFiles"
|
|
IDS_OPENFILTER "Log Files(*.LOG)\0*.LOG\0"
|
|
IDS_DEFEXT "LOG"
|
|
END
|
|
|
|
#include "logview.dlg"
|