Commit 3700777e authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Alexandre Julliard

Allow the user to put a mark in the debug log by adding a item in the

SYSMENU. The messages needs implementation in all other languages than English and German.
parent 2e52589d
...@@ -98,3 +98,20 @@ Bye, ...@@ -98,3 +98,20 @@ Bye,
Frans van Dorsselaer Frans van Dorsselaer
dorssel@rulhm1.LeidenUniv.nl dorssel@rulhm1.LeidenUniv.nl
**************************************************************
1998, October
Subject: Put Mark in DebugLog
I added an item to SYSMENU to put a mark in the Debuglog by request of the
User. I picked 61762 as the next ID after SC_ABOUTWINE. This item needs
translations to all supported languages. At present it is only done for
* English
* German
After you implemented it for your language, please add it to the list above.
Bye
Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de
\ No newline at end of file
...@@ -13,6 +13,8 @@ SYSMENU MENU LOADONCALL MOVEABLE DISCARDABLE ...@@ -13,6 +13,8 @@ SYSMENU MENU LOADONCALL MOVEABLE DISCARDABLE
MENUITEM "&Wechseln zu ...\tCtrl-Esc", 61744 MENUITEM "&Wechseln zu ...\tCtrl-Esc", 61744
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "&ber WINE ...", 61761 MENUITEM "&ber WINE ...", 61761
MENUITEM SEPARATOR
MENUITEM "Setze &Marke in die Debug-Ausgabe", 61762
} }
EDITMENU MENU LOADONCALL MOVEABLE DISCARDABLE EDITMENU MENU LOADONCALL MOVEABLE DISCARDABLE
......
...@@ -14,6 +14,8 @@ SYSMENU MENU LOADONCALL MOVEABLE DISCARDABLE ...@@ -14,6 +14,8 @@ SYSMENU MENU LOADONCALL MOVEABLE DISCARDABLE
MENUITEM "&Switch to ...\tCtrl-Esc", 61744 MENUITEM "&Switch to ...\tCtrl-Esc", 61744
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "&About WINE ...", 61761 MENUITEM "&About WINE ...", 61761
MENUITEM SEPARATOR
MENUITEM "&Put mark in debug log", 61762
} }
EDITMENU MENU LOADONCALL MOVEABLE DISCARDABLE EDITMENU MENU LOADONCALL MOVEABLE DISCARDABLE
......
...@@ -36,6 +36,7 @@ static HBITMAP16 hbitmapRestore = 0; ...@@ -36,6 +36,7 @@ static HBITMAP16 hbitmapRestore = 0;
static HBITMAP16 hbitmapRestoreD = 0; static HBITMAP16 hbitmapRestoreD = 0;
#define SC_ABOUTWINE (SC_SCREENSAVE+1) #define SC_ABOUTWINE (SC_SCREENSAVE+1)
#define SC_PUTMARK (SC_SCREENSAVE+2)
/* Some useful macros */ /* Some useful macros */
#define HAS_DLGFRAME(style,exStyle) \ #define HAS_DLGFRAME(style,exStyle) \
...@@ -2508,6 +2509,9 @@ LONG NC_HandleSysCommand( HWND32 hwnd, WPARAM16 wParam, POINT16 pt ) ...@@ -2508,6 +2509,9 @@ LONG NC_HandleSysCommand( HWND32 hwnd, WPARAM16 wParam, POINT16 pt )
case SC_SCREENSAVE: case SC_SCREENSAVE:
if (wParam == SC_ABOUTWINE) if (wParam == SC_ABOUTWINE)
ShellAbout32A(hwnd,"Wine", WINE_RELEASE_INFO, 0); ShellAbout32A(hwnd,"Wine", WINE_RELEASE_INFO, 0);
else
if (wParam == SC_PUTMARK)
TRACE(shell,"Mark requested by user\n");
break; break;
case SC_HOTKEY: case SC_HOTKEY:
......
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