rsrc.rc 2.58 KB
Newer Older
1 2
/*
 * Copyright 2004 by Krzysztof Foltman
3
 * Copyright 2007 by Alexander N. Sørnes <alex@thehandofagony.com>
4 5 6 7 8 9 10 11 12 13 14 15 16
 *
 * 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
17
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 19
 */

20 21 22
#include <windef.h>
#include <winuser.h>

23
#include "wordpad.h"
24 25 26 27 28 29 30 31

MAINACCELTABLE ACCELERATORS
BEGIN
    "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    
32 33
    "F",          ID_FIND,            VIRTKEY, CONTROL
    VK_F3,        ID_FIND_NEXT,       VIRTKEY
34
    "H",          ID_REPLACE,         VIRTKEY, CONTROL
35 36 37 38 39 40 41 42 43 44 45
    "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    
46
    "P",          ID_PRINT,           VIRTKEY, CONTROL
47 48
END

49
/* @makedep: toolbar.bmp */
50 51
IDB_TOOLBAR BITMAP "toolbar.bmp"

52
/* @makedep: formatbar.bmp */
53
IDB_FORMATBAR BITMAP "formatbar.bmp"
54

55
/* @makedep: wordpad.ico */
56
IDI_WORDPAD ICON "wordpad.ico"
57

58
/* @makedep: rtf.ico */
59 60
IDI_RTF ICON "rtf.ico"

61
/* @makedep: wri.ico */
62 63
IDI_WRI ICON "wri.ico"

64
/* @makedep: txt.ico */
65 66
IDI_TXT ICON "txt.ico"

67
#include "Da.rc"
68
#include "De.rc"
69
#include "En.rc"
70
#include "Fr.rc"
71
#include "Hu.rc"
72
#include "Ko.rc"
73
#include "Nl.rc"
74
#include "No.rc"
75
#include "Pl.rc"
76
#include "Ru.rc"
77
#include "Si.rc"
78
#include "Tr.rc"