taskmgr: Implement the Help menu.

Francois Gouget fgouget at free.fr
Fri Apr 8 05:01:43 CDT 2011


---
 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;
-- 
1.7.4.1




More information about the wine-patches mailing list