En.rc 2.98 KB
Newer Older
Alexandre Julliard's avatar
Alexandre Julliard committed
1
/*
2
 *  Notepad (English resources)
Alexandre Julliard's avatar
Alexandre Julliard committed
3
 *
4 5
 *  Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
 *  Proofread 1998 by David Lee Lambert <lamber45@egr.msu.edu>
6
 *  Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
7 8 9 10 11 12 13 14 15 16 17 18 19
 *
 * 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
20
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Alexandre Julliard's avatar
Alexandre Julliard committed
21 22
 */

23 24
#include "notepad_res.h"

25 26
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT

27 28
/* Dialog `Page setup' */

29
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
30
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
31
FONT 8, "MS Shell Dlg"
32 33
CAPTION "Page Setup"
{
34
LTEXT    "&Header:",  0x140,  10, 07, 40, 15
35
EDITTEXT IDC_PAGESETUP_HEADERVALUE,   60, 05,110, 12, WS_BORDER | WS_TABSTOP
36
LTEXT    "&Footer:",  0x142,   10, 24, 40, 15
37
EDITTEXT IDC_PAGESETUP_FOOTERVALUE,   60, 22,110, 12, WS_BORDER | WS_TABSTOP
38

39
GROUPBOX "&Margins (millimeters):",      0x144,     10, 43,160, 45
40
LTEXT    "&Left:",        0x145,   20, 55, 30, 10, WS_CHILD
41
EDITTEXT IDC_PAGESETUP_LEFTVALUE,     50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
42
LTEXT    "&Top:",         0x148,    20, 73, 30, 10, WS_CHILD
43
EDITTEXT IDC_PAGESETUP_TOPVALUE,      50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
44
LTEXT    "&Right:",       0x14B, 100, 55, 30, 10, WS_CHILD
45
EDITTEXT IDC_PAGESETUP_RIGHTVALUE,   130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
46
LTEXT    "&Bottom:",      0x14E,100, 73, 30, 10, WS_CHILD
47
EDITTEXT IDC_PAGESETUP_BOTTOMVALUE,  130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
48

Jonathan Ernst's avatar
Jonathan Ernst committed
49 50 51
DEFPUSHBUTTON "OK",         IDOK,                   180,  3, 40, 15, WS_TABSTOP
PUSHBUTTON    "Cancel",     IDCANCEL,               180, 21, 40, 15, WS_TABSTOP
PUSHBUTTON    "&Help",       IDHELP,                180, 39, 40, 15, WS_TABSTOP
52 53
}

54
IDD_OFN_TEMPLATE  DIALOG 50,50,300,15
55 56 57 58 59 60 61
STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_BORDER
FONT 8, "MS Shell Dlg"
BEGIN
  LTEXT "Encoding:", -1, 5,0, 50,12
  COMBOBOX IDC_OFN_ENCCOMBO, 53,0, 156,48, WS_CHILD | WS_VSCROLL | CBS_DROPDOWNLIST
END

62
ID_ACCEL ACCELERATORS
63
{
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
    "^A", CMD_SELECT_ALL
    "^C", CMD_COPY
    "^F", CMD_SEARCH
    "H", CMD_REPLACE, VIRTKEY, CONTROL
    "^N", CMD_NEW
    "^O", CMD_OPEN
    "^P", CMD_PRINT
    "^S", CMD_SAVE
    "^V", CMD_PASTE
    "^X", CMD_CUT
    "^Z", CMD_UNDO
    VK_BACK, CMD_UNDO, VIRTKEY, ALT
    VK_F3, CMD_SEARCH_NEXT, VIRTKEY
    VK_F5, CMD_TIME_DATE, VIRTKEY
    VK_INSERT, CMD_COPY, VIRTKEY, CONTROL
    VK_INSERT, CMD_PASTE, VIRTKEY, SHIFT
80
}