2006-02-14 14:48:29 +01:00
|
|
|
/*
|
|
|
|
* 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
|
2006-05-18 14:49:52 +02:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2006-02-14 14:48:29 +01:00
|
|
|
*/
|
|
|
|
|
2009-07-02 00:31:53 +02:00
|
|
|
#include "wordpad.h"
|
|
|
|
|
2006-02-16 12:09:21 +01:00
|
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
|
2006-02-14 14:48:29 +01:00
|
|
|
|
2010-07-21 23:57:50 +02:00
|
|
|
IDD_DATETIME DIALOG 30, 20, 130, 80
|
2007-07-18 15:50:21 +02:00
|
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
|
|
CAPTION "Date and time"
|
|
|
|
FONT 10, "MS Sans Serif"
|
|
|
|
BEGIN
|
2009-01-14 11:31:00 +01:00
|
|
|
LTEXT "Available formats",-1,3,2,100,15
|
2008-11-08 02:33:33 +01:00
|
|
|
LISTBOX IDC_DATETIME,3,12,80,65,LBS_NOINTEGRALHEIGHT | LBS_NOTIFY
|
2007-07-18 15:50:21 +02:00
|
|
|
PUSHBUTTON "&OK",IDOK,87,12,40,12
|
|
|
|
PUSHBUTTON "&Cancel",IDCANCEL,87,26,40,12
|
|
|
|
END
|
|
|
|
|
2010-07-21 23:57:50 +02:00
|
|
|
IDD_NEWFILE DIALOG 30, 20, 140, 80
|
2007-07-18 22:27:15 +02:00
|
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
|
|
CAPTION "New"
|
|
|
|
FONT 10, "MS Sans Serif"
|
|
|
|
BEGIN
|
2009-01-14 11:31:00 +01:00
|
|
|
LTEXT "New document type",-1,3,2,100,15
|
2007-07-18 22:27:15 +02:00
|
|
|
LISTBOX IDC_NEWFILE,3,12,90,65,LBS_NOINTEGRALHEIGHT
|
|
|
|
PUSHBUTTON "&OK",IDOK,97,12,40,12
|
|
|
|
PUSHBUTTON "&Cancel",IDCANCEL,97,26,40,12
|
|
|
|
END
|
|
|
|
|
2010-07-21 23:57:50 +02:00
|
|
|
IDD_PARAFORMAT DIALOG 30, 20, 200, 110
|
2007-08-23 01:15:17 +02:00
|
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
|
|
Caption "Paragraph format"
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
BEGIN
|
2009-01-14 11:31:00 +01:00
|
|
|
GROUPBOX "Indentation", -1, 10, 10, 120, 68
|
|
|
|
LTEXT "Left", -1, 15, 22, 40, 13
|
2007-08-23 01:15:17 +02:00
|
|
|
EDITTEXT IDC_PARA_LEFT, 55, 20, 60, 13
|
2009-01-14 11:31:00 +01:00
|
|
|
LTEXT "Right", -1, 15, 40, 40, 13
|
2007-08-23 01:15:17 +02:00
|
|
|
EDITTEXT IDC_PARA_RIGHT, 55, 38, 60, 13
|
2009-01-14 11:31:00 +01:00
|
|
|
LTEXT "First line", -1, 15, 58, 40, 13
|
2007-08-23 01:15:17 +02:00
|
|
|
EDITTEXT IDC_PARA_FIRST, 55, 56, 60, 13
|
2009-01-14 11:31:00 +01:00
|
|
|
LTEXT "Alignment", -1, 15, 87, 40, 13
|
2008-06-18 03:20:14 +02:00
|
|
|
COMBOBOX IDC_PARA_ALIGN, 55, 85, 60, 60, CBS_DROPDOWNLIST
|
2007-08-23 01:15:17 +02:00
|
|
|
PUSHBUTTON "&OK", IDOK, 137, 15, 50, 15
|
|
|
|
PUSHBUTTON "&Cancel", IDCANCEL, 137, 33, 50, 15
|
|
|
|
END
|
|
|
|
|
2010-07-21 23:57:50 +02:00
|
|
|
IDD_TABSTOPS DIALOG 30, 20, 200, 110
|
2007-08-23 01:27:50 +02:00
|
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
|
|
Caption "Tabs"
|
|
|
|
FONT 8, "MS SHell DLg"
|
|
|
|
BEGIN
|
2009-01-14 11:31:00 +01:00
|
|
|
GROUPBOX "Tab stops", -1, 10, 10, 120, 90
|
2009-02-25 21:15:25 +01:00
|
|
|
COMBOBOX IDC_TABSTOPS, 20, 20, 100, 60, CBS_SIMPLE
|
2007-08-23 01:27:50 +02:00
|
|
|
DEFPUSHBUTTON "&Add", ID_TAB_ADD, 20, 80, 45, 15
|
|
|
|
PUSHBUTTON "&Remove", ID_TAB_DEL, 72, 80, 45, 15
|
|
|
|
PUSHBUTTON "&OK", IDOK, 137, 15, 50, 15
|
|
|
|
PUSHBUTTON "&Cancel", IDCANCEL, 137, 33, 50, 15
|
|
|
|
PUSHBUTTON "Remove al&l", ID_TAB_EMPTY, 137, 51, 50, 15
|
|
|
|
END
|
|
|
|
|
2010-07-21 23:57:50 +02:00
|
|
|
IDD_FORMATOPTS DIALOG 0, 0, 280, 110
|
2007-08-23 15:08:41 +02:00
|
|
|
STYLE DS_SYSMODAL
|
|
|
|
Caption ""
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
BEGIN
|
2009-01-14 11:31:00 +01:00
|
|
|
GROUPBOX "Line wrapping", -1, 10, 10, 130, 85
|
2008-10-14 00:48:41 +02:00
|
|
|
RADIOBUTTON "&No line wrapping", IDC_PAGEFMT_WN, 18, 25, 117, 15
|
|
|
|
RADIOBUTTON "Wrap text by the &window border", IDC_PAGEFMT_WW, 18, 45, 117, 15
|
|
|
|
RADIOBUTTON "Wrap text by the &margin", IDC_PAGEFMT_WM, 18, 65, 117, 15
|
2009-01-14 11:31:00 +01:00
|
|
|
GROUPBOX "Toolbars", -1, 150, 10, 120, 85
|
2007-08-23 15:08:41 +02:00
|
|
|
CHECKBOX "&Toolbar", IDC_PAGEFMT_TB, 160, 20, 80, 15
|
|
|
|
CHECKBOX "&Formatbar", IDC_PAGEFMT_FB, 160, 38, 80, 15
|
2008-01-14 00:36:23 +01:00
|
|
|
CHECKBOX "&Ruler", IDC_PAGEFMT_RU, 160, 56, 80, 15
|
|
|
|
CHECKBOX "&Statusbar", IDC_PAGEFMT_SB, 160, 74, 80, 15
|
2007-08-23 15:08:41 +02:00
|
|
|
LTEXT "", IDC_PAGEFMT_ID, 0,0,0,0
|
|
|
|
END
|
2007-08-23 01:27:50 +02:00
|
|
|
|
2011-01-11 12:41:31 +01:00
|
|
|
MAINACCELTABLE ACCELERATORS
|
2009-07-08 16:24:08 +02:00
|
|
|
BEGIN
|
2011-01-11 12:41:31 +01:00
|
|
|
"1", ID_BACK_1, VIRTKEY, CONTROL
|
|
|
|
"2", ID_BACK_2, VIRTKEY, CONTROL
|
|
|
|
"L", ID_ALIGN_LEFT, VIRTKEY, CONTROL
|
|
|
|
"E", ID_ALIGN_CENTER, VIRTKEY, CONTROL
|
|
|
|
"R", ID_ALIGN_RIGHT, VIRTKEY, CONTROL
|
|
|
|
"F", ID_FIND, VIRTKEY, CONTROL
|
|
|
|
VK_F3, ID_FIND_NEXT, VIRTKEY
|
|
|
|
"H", ID_REPLACE, VIRTKEY, CONTROL
|
|
|
|
"A", ID_EDIT_SELECTALL, VIRTKEY, CONTROL
|
|
|
|
"X", ID_EDIT_CUT, VIRTKEY, CONTROL
|
|
|
|
"C", ID_EDIT_COPY, VIRTKEY, CONTROL
|
|
|
|
"Z", ID_EDIT_UNDO, VIRTKEY, CONTROL
|
|
|
|
"Y", ID_EDIT_REDO, VIRTKEY, CONTROL
|
|
|
|
"B", ID_FORMAT_BOLD, VIRTKEY, CONTROL
|
|
|
|
"I", ID_FORMAT_ITALIC, VIRTKEY, CONTROL
|
|
|
|
"U", ID_FORMAT_UNDERLINE,VIRTKEY, CONTROL
|
|
|
|
"N", ID_FILE_NEW, VIRTKEY, CONTROL
|
|
|
|
"O", ID_FILE_OPEN, VIRTKEY, CONTROL
|
|
|
|
"S", ID_FILE_SAVE, VIRTKEY, CONTROL
|
|
|
|
"P", ID_PRINT, VIRTKEY, CONTROL
|
2009-07-08 16:24:08 +02:00
|
|
|
END
|