- Remove useless LVN_ITEMACTIVATE notification handling.

- Update controls in response to a NM_CLICK notification.
This commit is contained in:
James Hawkins 2005-05-10 13:14:49 +00:00 committed by Alexandre Julliard
parent bf1061bfc6
commit e2c5359e8b

View File

@ -789,9 +789,6 @@ DriveDlgProc (HWND dialog, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_NOTIFY:
switch (((LPNMHDR)lParam)->code)
{
case LVN_ITEMACTIVATE:
update_controls(dialog);
break;
case PSN_KILLACTIVE:
WINE_TRACE("PSN_KILLACTIVE\n");
SetWindowLongPtr(dialog, DWLP_MSGRESULT, FALSE);
@ -803,6 +800,13 @@ DriveDlgProc (HWND dialog, UINT msg, WPARAM wParam, LPARAM lParam)
case PSN_SETACTIVE:
break;
}
switch (((LPNMITEMACTIVATE)lParam)->hdr.code)
{
case NM_CLICK:
update_controls(dialog);
break;
}
break;
}