2006-02-14 14:48:29 +01:00
|
|
|
/*
|
|
|
|
* Copyright 2004 by Krzysztof Foltman
|
2007-08-25 20:41:30 +02:00
|
|
|
* Copyright 2007 by Alexander N. Sørnes <alex@thehandofagony.com>
|
2006-02-14 14:48:29 +01:00
|
|
|
*
|
|
|
|
* 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
|
|
|
*/
|
|
|
|
|
2007-08-07 08:30:43 +02:00
|
|
|
#include <windef.h>
|
|
|
|
#include <winuser.h>
|
|
|
|
|
2007-11-11 01:06:46 +01:00
|
|
|
#include "wordpad.h"
|
2006-02-14 14:48:29 +01:00
|
|
|
|
|
|
|
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
|
2007-07-18 15:41:33 +02:00
|
|
|
"F", ID_FIND, VIRTKEY, CONTROL
|
|
|
|
VK_F3, ID_FIND_NEXT, VIRTKEY
|
2007-08-26 15:01:44 +02:00
|
|
|
"H", ID_REPLACE, VIRTKEY, CONTROL
|
2006-02-14 14:48:29 +01:00
|
|
|
"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
|
2007-08-23 01:36:29 +02:00
|
|
|
"P", ID_PRINT, VIRTKEY, CONTROL
|
2006-02-14 14:48:29 +01:00
|
|
|
END
|
|
|
|
|
2007-09-18 13:25:50 +02:00
|
|
|
/* @makedep: toolbar.bmp */
|
2007-07-18 15:50:43 +02:00
|
|
|
IDB_TOOLBAR BITMAP "toolbar.bmp"
|
|
|
|
|
2007-09-18 13:25:50 +02:00
|
|
|
/* @makedep: formatbar.bmp */
|
2007-06-06 13:28:26 +02:00
|
|
|
IDB_FORMATBAR BITMAP "formatbar.bmp"
|
2007-02-27 15:09:24 +01:00
|
|
|
|
2007-09-18 13:25:50 +02:00
|
|
|
/* @makedep: wordpad.ico */
|
2007-05-29 22:19:36 +02:00
|
|
|
IDI_WORDPAD ICON "wordpad.ico"
|
2006-02-14 14:48:29 +01:00
|
|
|
|
2007-09-18 13:25:50 +02:00
|
|
|
/* @makedep: rtf.ico */
|
2007-08-25 20:41:30 +02:00
|
|
|
IDI_RTF ICON "rtf.ico"
|
|
|
|
|
2007-09-18 13:25:50 +02:00
|
|
|
/* @makedep: wri.ico */
|
2007-08-25 20:41:30 +02:00
|
|
|
IDI_WRI ICON "wri.ico"
|
|
|
|
|
2007-09-18 13:25:50 +02:00
|
|
|
/* @makedep: txt.ico */
|
2007-08-25 20:41:30 +02:00
|
|
|
IDI_TXT ICON "txt.ico"
|
|
|
|
|
2008-05-04 23:41:45 +02:00
|
|
|
#include "Da.rc"
|
2006-02-16 12:09:21 +01:00
|
|
|
#include "De.rc"
|
2006-02-14 14:48:29 +01:00
|
|
|
#include "En.rc"
|
2006-02-16 12:18:17 +01:00
|
|
|
#include "Fr.rc"
|
2006-04-22 01:38:54 +02:00
|
|
|
#include "Hu.rc"
|
2008-09-01 02:10:00 +02:00
|
|
|
#include "Ja.rc"
|
2006-02-20 11:14:48 +01:00
|
|
|
#include "Ko.rc"
|
2006-02-17 11:37:21 +01:00
|
|
|
#include "Nl.rc"
|
2006-02-24 18:53:33 +01:00
|
|
|
#include "No.rc"
|
2007-01-13 23:51:55 +01:00
|
|
|
#include "Pl.rc"
|
2008-10-21 05:22:46 +02:00
|
|
|
#include "Pt.rc"
|
2006-02-17 11:37:51 +01:00
|
|
|
#include "Ru.rc"
|
2008-04-07 20:43:15 +02:00
|
|
|
#include "Si.rc"
|
2009-01-20 11:35:17 +01:00
|
|
|
#include "Sv.rc"
|
2006-03-10 16:19:25 +01:00
|
|
|
#include "Tr.rc"
|
2008-08-30 08:16:52 +02:00
|
|
|
#include "Zh.rc"
|