104 lines
3.6 KiB
Plaintext
104 lines
3.6 KiB
Plaintext
/*
|
|
* Copyright 2004 by Krzysztof Foltman
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
*/
|
|
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
|
|
|
|
MAINMENU MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "&File"
|
|
BEGIN
|
|
MENUITEM "&New\tCtrl+N", ID_FILE_NEW
|
|
MENUITEM "&Open . . .\tCtrl+O", ID_FILE_OPEN
|
|
MENUITEM "&Save\tCtrl+S", ID_FILE_SAVE
|
|
MENUITEM "Save &as . . .", ID_FILE_SAVEAS
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "E&xit", ID_FILE_EXIT
|
|
END
|
|
POPUP "&Edit"
|
|
BEGIN
|
|
MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO
|
|
MENUITEM "&Redo\tCtrl+Y", ID_EDIT_REDO
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT
|
|
MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
|
|
MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
|
|
MENUITEM "&Clear\tDEL", ID_EDIT_CLEAR
|
|
MENUITEM "&Select all\tCtrl+A", ID_EDIT_SELECTALL
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Read-&only", ID_EDIT_READONLY
|
|
MENUITEM "&Modified", ID_EDIT_MODIFIED
|
|
MENUITEM SEPARATOR
|
|
POPUP "&Extras"
|
|
BEGIN
|
|
MENUITEM "Selection &info", ID_EDIT_SELECTIONINFO
|
|
MENUITEM "Character &format", ID_EDIT_CHARFORMAT
|
|
MENUITEM "&Def. char format", ID_EDIT_DEFCHARFORMAT
|
|
MENUITEM "Paragrap&h format", ID_EDIT_PARAFORMAT
|
|
MENUITEM "&Get text", ID_EDIT_GETTEXT
|
|
END
|
|
END
|
|
POPUP "&View"
|
|
BEGIN
|
|
MENUITEM "&Toolbar", ID_TOGGLE_TOOLBAR
|
|
MENUITEM "&Formatbar", ID_TOGGLE_FORMATBAR
|
|
MENUITEM "&Statusbar", ID_TOGGLE_STATUSBAR
|
|
END
|
|
POPUP "&Insert"
|
|
BEGIN
|
|
MENUITEM "&Date and time . . .", ID_DATETIME
|
|
END
|
|
POPUP "F&ormat"
|
|
BEGIN
|
|
POPUP "&Background"
|
|
BEGIN
|
|
MENUITEM "&System\tCtrl+1", ID_BACK_1
|
|
MENUITEM "&PostThat yellowish\tCtrl+2", ID_BACK_2
|
|
END
|
|
POPUP "&Alignment"
|
|
BEGIN
|
|
MENUITEM "&Left\tCtrl+L", ID_ALIGN_LEFT
|
|
MENUITEM "&Center\tCtrl+E", ID_ALIGN_CENTER
|
|
MENUITEM "&Right\tCtrl+R", ID_ALIGN_RIGHT
|
|
END
|
|
END
|
|
END
|
|
|
|
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Date and time"
|
|
FONT 10, "MS Sans Serif"
|
|
BEGIN
|
|
LTEXT "Available formats",0,3,2,100,15
|
|
LISTBOX IDC_DATETIME,3,12,80,65,LBS_NOINTEGRALHEIGHT
|
|
PUSHBUTTON "&OK",IDOK,87,12,40,12
|
|
PUSHBUTTON "&Cancel",IDCANCEL,87,26,40,12
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_RICHTEXT_FILES_RTF, "Rich text format (*.rtf)"
|
|
STRING_TEXT_FILES_TXT, "Text files (*.txt)"
|
|
STRING_ALL_FILES, "All documents (*.*)"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_DEFAULT_FILENAME, "Document"
|
|
STRING_PROMPT_SAVE_CHANGES, "Save changes to '%s'?"
|
|
END
|