Eric Pouech : winhelp: Double clicking in the index list should open the page.
Alexandre Julliard
julliard at winehq.org
Mon Jul 14 05:57:07 CDT 2008
Module: wine
Branch: master
Commit: 8291034d014dba722c106d0dfb0cebe302344983
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8291034d014dba722c106d0dfb0cebe302344983
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Sat Jul 12 10:37:38 2008 +0200
winhelp: Double clicking in the index list should open the page.
---
programs/winhlp32/winhelp.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/programs/winhlp32/winhelp.c b/programs/winhlp32/winhelp.c
index 0ad3243..d65a752 100644
--- a/programs/winhlp32/winhelp.c
+++ b/programs/winhlp32/winhelp.c
@@ -1593,6 +1593,15 @@ INT_PTR CALLBACK WINHELP_IndexDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM
id->jump = FALSE;
id->offset = 1;
return TRUE;
+ case WM_COMMAND:
+ switch (HIWORD(wParam))
+ {
+ case LBN_DBLCLK:
+ if (LOWORD(wParam) == IDC_INDEXLIST)
+ SendMessage(GetParent(hWnd), PSM_PRESSBUTTON, PSBTN_OK, 0);
+ break;
+ }
+ break;
case WM_NOTIFY:
switch (((NMHDR*)lParam)->code)
{
More information about the wine-cvs
mailing list