mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
winhelp: Double clicking in the index list should open the page.
This commit is contained in:
parent
cdd235e24a
commit
8291034d01
1 changed files with 9 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue