Commit 194c3f25 authored by Alexander Nicolaysen Sørnes's avatar Alexander Nicolaysen Sørnes Committed by Alexandre Julliard

wordpad: Make edit menu more like native.

parent a53eab60
......@@ -32,10 +32,12 @@ BEGIN
BEGIN
MENUITEM "&Rckgngig\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Wiederholen\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Alles markieren\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM "Aus&schneiden\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopieren\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Einfgen\tCtrl+V", ID_EDIT_PASTE
MENUITEM "&Lschen\tDEL", ID_EDIT_CLEAR
MENUITEM "&Alles markieren\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM "Schreibgesch&tzt", ID_EDIT_READONLY
MENUITEM "&Gendert", ID_EDIT_MODIFIED
......
......@@ -32,10 +32,12 @@ BEGIN
BEGIN
MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Redo\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Select all\tCtrl+A", ID_EDIT_SELECTALL
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
......
......@@ -30,15 +30,17 @@ BEGIN
END
POPUP "&dition"
BEGIN
MENUITEM "&Annuler\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Rpter\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Slectionner tout\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM "&Annuler\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Rpter\tCtrl+Y", ID_EDIT_REDO
MENUITEM SEPARATOR
MENUITEM "&Couper\tCtrl+X", ID_EDIT_CUT
MENUITEM "Co&pier\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Couper\tCtrl+X", ID_EDIT_CUT
MENUITEM "Co&pier\tCtrl+C", ID_EDIT_COPY
MENUITEM "C&oller\tCtrl+V", ID_EDIT_PASTE
MENUITEM "&Effacer\tDel", ID_EDIT_CLEAR
MENUITEM "&Slectionner tout\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM "Lecture-&seule", ID_EDIT_READONLY
MENUITEM "&Modifi", ID_EDIT_MODIFIED
MENUITEM "&Modifi", ID_EDIT_MODIFIED
MENUITEM SEPARATOR
POPUP "&Avancs"
BEGIN
......
......@@ -32,10 +32,12 @@ BEGIN
BEGIN
MENUITEM "&Visszavons\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Elre\tCtrl+Y", ID_EDIT_REDO
MENUITEM "M&indet kijelli\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM "Kiv&gs\tCtrl+X", ID_EDIT_CUT
MENUITEM "M&sols\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Beilleszts\tCtrl+V", ID_EDIT_PASTE
MENUITEM "Tr&ls\tDel", ID_EDIT_CLEAR
MENUITEM "M&indet kijelli\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM "Csak &olvashat", ID_EDIT_READONLY
MENUITEM "M&dostva", ID_EDIT_MODIFIED
......
......@@ -32,10 +32,12 @@ BEGIN
BEGIN
MENUITEM "&Ongedaan maken\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "O&pnieuw\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Alles selecteren\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM "K&nippen\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopieren\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Plakken\tCtrl+V", ID_EDIT_PASTE
MENUITEM "&Verwijderen\tDel", ID_EDIT_CLEAR
MENUITEM "&Alles selecteren\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM "Alleen &lezen", ID_EDIT_READONLY
MENUITEM "&Gewijzigd", ID_EDIT_MODIFIED
......
......@@ -30,14 +30,16 @@ BEGIN
END
POPUP "R&ediger"
BEGIN
MENUITEM "&Angre\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Gjenta\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Merk alt\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM "&Angre\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Gjenta\tCtrl+Y", ID_EDIT_REDO
MENUITEM SEPARATOR
MENUITEM "Klipp u&t\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopier\tCtrl+C", ID_EDIT_COPY
MENUITEM "Klipp u&t\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopier\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Lim inn\tCtrl+V", ID_EDIT_PASTE
MENUITEM "&Fjern\tDEL", ID_EDIT_CLEAR
MENUITEM "&Merk alt\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM "&Skrivebeskyttet", ID_EDIT_READONLY
MENUITEM "&Skrivebeskyttet", ID_EDIT_READONLY
MENUITEM "E&ndret", ID_EDIT_MODIFIED
MENUITEM SEPARATOR
POPUP "&Ekstra"
......
......@@ -33,10 +33,12 @@ BEGIN
BEGIN
MENUITEM "&Cofnij\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Powtrz\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Zaznacz wszystko\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM "Wy&tnij\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopiuj\tCtrl+C", ID_EDIT_COPY
MENUITEM "Wkl&ej\tCtrl+V", ID_EDIT_PASTE
MENUITEM "&Usu\tDel", ID_EDIT_CLEAR
MENUITEM "&Zaznacz wszystko\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM "Tylko do &odczytu", ID_EDIT_READONLY
MENUITEM "&Zmodifykowany", ID_EDIT_MODIFIED
......
......@@ -34,10 +34,12 @@ BEGIN
BEGIN
MENUITEM "&Geri Al\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Yinele\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Tmn se\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM "Ke&s\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopyala\tCtrl+C", ID_EDIT_COPY
MENUITEM "Ya&ptr\tCtrl+V", ID_EDIT_PASTE
MENUITEM "&Sil\tDel", ID_EDIT_CLEAR
MENUITEM "&Tmn se\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM "Salt-&okunur", ID_EDIT_READONLY
MENUITEM "&Deimi", ID_EDIT_MODIFIED
......
......@@ -46,6 +46,7 @@
#define ID_EDIT_COPY 1310
#define ID_EDIT_CUT 1311
#define ID_EDIT_PASTE 1312
#define ID_EDIT_CLEAR 1313
#define ID_FORMAT_BOLD 1400
#define ID_FORMAT_ITALIC 1401
......
......@@ -377,6 +377,10 @@ static LRESULT OnCommand( HWND hWnd, WPARAM wParam, LPARAM lParam)
PostMessage(hwndEditor, WM_PASTE, 0, 0);
break;
case ID_EDIT_CLEAR:
PostMessage(hwndEditor, WM_CLEAR, 0, 0);
break;
case ID_EDIT_SELECTALL:
{
CHARRANGE range = {0, -1};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment