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 ...@@ -32,10 +32,12 @@ BEGIN
BEGIN BEGIN
MENUITEM "&Rckgngig\tCtrl+Z", ID_EDIT_UNDO MENUITEM "&Rckgngig\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Wiederholen\tCtrl+Y", ID_EDIT_REDO MENUITEM "&Wiederholen\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Alles markieren\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "Aus&schneiden\tCtrl+X", ID_EDIT_CUT MENUITEM "Aus&schneiden\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopieren\tCtrl+C", ID_EDIT_COPY 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 SEPARATOR
MENUITEM "Schreibgesch&tzt", ID_EDIT_READONLY MENUITEM "Schreibgesch&tzt", ID_EDIT_READONLY
MENUITEM "&Gendert", ID_EDIT_MODIFIED MENUITEM "&Gendert", ID_EDIT_MODIFIED
......
...@@ -32,10 +32,12 @@ BEGIN ...@@ -32,10 +32,12 @@ BEGIN
BEGIN BEGIN
MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Redo\tCtrl+Y", ID_EDIT_REDO MENUITEM "&Redo\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Select all\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY 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 SEPARATOR
MENUITEM "Read-&only", ID_EDIT_READONLY MENUITEM "Read-&only", ID_EDIT_READONLY
MENUITEM "&Modified", ID_EDIT_MODIFIED MENUITEM "&Modified", ID_EDIT_MODIFIED
......
...@@ -30,15 +30,17 @@ BEGIN ...@@ -30,15 +30,17 @@ BEGIN
END END
POPUP "&dition" POPUP "&dition"
BEGIN BEGIN
MENUITEM "&Annuler\tCtrl+Z", ID_EDIT_UNDO MENUITEM "&Annuler\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Rpter\tCtrl+Y", ID_EDIT_REDO MENUITEM "&Rpter\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Slectionner tout\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "&Couper\tCtrl+X", ID_EDIT_CUT MENUITEM "&Couper\tCtrl+X", ID_EDIT_CUT
MENUITEM "Co&pier\tCtrl+C", ID_EDIT_COPY 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 SEPARATOR
MENUITEM "Lecture-&seule", ID_EDIT_READONLY MENUITEM "Lecture-&seule", ID_EDIT_READONLY
MENUITEM "&Modifi", ID_EDIT_MODIFIED MENUITEM "&Modifi", ID_EDIT_MODIFIED
MENUITEM SEPARATOR MENUITEM SEPARATOR
POPUP "&Avancs" POPUP "&Avancs"
BEGIN BEGIN
......
...@@ -32,10 +32,12 @@ BEGIN ...@@ -32,10 +32,12 @@ BEGIN
BEGIN BEGIN
MENUITEM "&Visszavons\tCtrl+Z", ID_EDIT_UNDO MENUITEM "&Visszavons\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Elre\tCtrl+Y", ID_EDIT_REDO MENUITEM "&Elre\tCtrl+Y", ID_EDIT_REDO
MENUITEM "M&indet kijelli\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "Kiv&gs\tCtrl+X", ID_EDIT_CUT MENUITEM "Kiv&gs\tCtrl+X", ID_EDIT_CUT
MENUITEM "M&sols\tCtrl+C", ID_EDIT_COPY 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 SEPARATOR
MENUITEM "Csak &olvashat", ID_EDIT_READONLY MENUITEM "Csak &olvashat", ID_EDIT_READONLY
MENUITEM "M&dostva", ID_EDIT_MODIFIED MENUITEM "M&dostva", ID_EDIT_MODIFIED
......
...@@ -32,10 +32,12 @@ BEGIN ...@@ -32,10 +32,12 @@ BEGIN
BEGIN BEGIN
MENUITEM "&Ongedaan maken\tCtrl+Z", ID_EDIT_UNDO MENUITEM "&Ongedaan maken\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "O&pnieuw\tCtrl+Y", ID_EDIT_REDO MENUITEM "O&pnieuw\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Alles selecteren\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "K&nippen\tCtrl+X", ID_EDIT_CUT MENUITEM "K&nippen\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopieren\tCtrl+C", ID_EDIT_COPY 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 SEPARATOR
MENUITEM "Alleen &lezen", ID_EDIT_READONLY MENUITEM "Alleen &lezen", ID_EDIT_READONLY
MENUITEM "&Gewijzigd", ID_EDIT_MODIFIED MENUITEM "&Gewijzigd", ID_EDIT_MODIFIED
......
...@@ -30,14 +30,16 @@ BEGIN ...@@ -30,14 +30,16 @@ BEGIN
END END
POPUP "R&ediger" POPUP "R&ediger"
BEGIN BEGIN
MENUITEM "&Angre\tCtrl+Z", ID_EDIT_UNDO MENUITEM "&Angre\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Gjenta\tCtrl+Y", ID_EDIT_REDO MENUITEM "&Gjenta\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Merk alt\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "Klipp u&t\tCtrl+X", ID_EDIT_CUT MENUITEM "Klipp u&t\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopier\tCtrl+C", ID_EDIT_COPY 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 SEPARATOR
MENUITEM "&Skrivebeskyttet", ID_EDIT_READONLY MENUITEM "&Skrivebeskyttet", ID_EDIT_READONLY
MENUITEM "E&ndret", ID_EDIT_MODIFIED MENUITEM "E&ndret", ID_EDIT_MODIFIED
MENUITEM SEPARATOR MENUITEM SEPARATOR
POPUP "&Ekstra" POPUP "&Ekstra"
......
...@@ -33,10 +33,12 @@ BEGIN ...@@ -33,10 +33,12 @@ BEGIN
BEGIN BEGIN
MENUITEM "&Cofnij\tCtrl+Z", ID_EDIT_UNDO MENUITEM "&Cofnij\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Powtrz\tCtrl+Y", ID_EDIT_REDO MENUITEM "&Powtrz\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Zaznacz wszystko\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "Wy&tnij\tCtrl+X", ID_EDIT_CUT MENUITEM "Wy&tnij\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopiuj\tCtrl+C", ID_EDIT_COPY 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 SEPARATOR
MENUITEM "Tylko do &odczytu", ID_EDIT_READONLY MENUITEM "Tylko do &odczytu", ID_EDIT_READONLY
MENUITEM "&Zmodifykowany", ID_EDIT_MODIFIED MENUITEM "&Zmodifykowany", ID_EDIT_MODIFIED
......
...@@ -34,10 +34,12 @@ BEGIN ...@@ -34,10 +34,12 @@ BEGIN
BEGIN BEGIN
MENUITEM "&Geri Al\tCtrl+Z", ID_EDIT_UNDO MENUITEM "&Geri Al\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "&Yinele\tCtrl+Y", ID_EDIT_REDO MENUITEM "&Yinele\tCtrl+Y", ID_EDIT_REDO
MENUITEM "&Tmn se\tCtrl+A", ID_EDIT_SELECTALL
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "Ke&s\tCtrl+X", ID_EDIT_CUT MENUITEM "Ke&s\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Kopyala\tCtrl+C", ID_EDIT_COPY 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 SEPARATOR
MENUITEM "Salt-&okunur", ID_EDIT_READONLY MENUITEM "Salt-&okunur", ID_EDIT_READONLY
MENUITEM "&Deimi", ID_EDIT_MODIFIED MENUITEM "&Deimi", ID_EDIT_MODIFIED
......
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
#define ID_EDIT_COPY 1310 #define ID_EDIT_COPY 1310
#define ID_EDIT_CUT 1311 #define ID_EDIT_CUT 1311
#define ID_EDIT_PASTE 1312 #define ID_EDIT_PASTE 1312
#define ID_EDIT_CLEAR 1313
#define ID_FORMAT_BOLD 1400 #define ID_FORMAT_BOLD 1400
#define ID_FORMAT_ITALIC 1401 #define ID_FORMAT_ITALIC 1401
......
...@@ -377,6 +377,10 @@ static LRESULT OnCommand( HWND hWnd, WPARAM wParam, LPARAM lParam) ...@@ -377,6 +377,10 @@ static LRESULT OnCommand( HWND hWnd, WPARAM wParam, LPARAM lParam)
PostMessage(hwndEditor, WM_PASTE, 0, 0); PostMessage(hwndEditor, WM_PASTE, 0, 0);
break; break;
case ID_EDIT_CLEAR:
PostMessage(hwndEditor, WM_CLEAR, 0, 0);
break;
case ID_EDIT_SELECTALL: case ID_EDIT_SELECTALL:
{ {
CHARRANGE range = {0, -1}; 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