Francois Gouget : taskmgr: Implement the Help menu.
Alexandre Julliard
julliard at winehq.org
Fri Apr 8 10:50:58 CDT 2011
Module: wine
Branch: master
Commit: 9668e1c0d4e97140e6f70cfccfc4a59f5d80615c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9668e1c0d4e97140e6f70cfccfc4a59f5d80615c
Author: Francois Gouget <fgouget at free.fr>
Date: Fri Apr 8 12:01:43 2011 +0200
taskmgr: Implement the Help menu.
---
programs/taskmgr/taskmgr.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/programs/taskmgr/taskmgr.c b/programs/taskmgr/taskmgr.c
index 08acf71..dcab031 100644
--- a/programs/taskmgr/taskmgr.c
+++ b/programs/taskmgr/taskmgr.c
@@ -770,6 +770,7 @@ LPWSTR GetLastErrorText(LPWSTR lpwszBuf, DWORD dwSize)
static INT_PTR CALLBACK
TaskManagerWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
+ static const WCHAR wszTaskmgr[] = {'t','a','s','k','m','g','r',0};
HDC hdc;
PAINTSTRUCT ps;
LPRECT pRC;
@@ -904,6 +905,9 @@ TaskManagerWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
case ID_PROCESS_PAGE_DEBUGCHANNELS:
ProcessPage_OnDebugChannels();
break;
+ case ID_HELP_TOPICS:
+ WinHelpW(hDlg, wszTaskmgr, HELP_FINDER, 0);
+ break;
case ID_HELP_ABOUT:
OnAbout();
break;
More information about the wine-cvs
mailing list