Commit 658a5420 authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

Use correct notification for drive selection change.

parent 669b79b8
......@@ -837,14 +837,15 @@ DriveDlgProc (HWND dialog, UINT msg, WPARAM wParam, LPARAM lParam)
break;
case PSN_SETACTIVE:
break;
}
switch (((LPNMITEMACTIVATE)lParam)->hdr.code)
case LVN_ITEMCHANGED:
{
case NM_CLICK:
LPNMLISTVIEW lpnm = (LPNMLISTVIEW)lParam;
if (!(lpnm->uOldState & LVIS_SELECTED) &&
(lpnm->uNewState & LVIS_SELECTED))
update_controls(dialog);
break;
}
}
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment