[NETSHELL] Double click on component should open properties (#6008)

Based on KRosUser's lanprop.patch. Add NM_DBLCLK handling.
CORE-19330
This commit is contained in:
Katayama Hirofumi MZ 2023-11-20 21:48:18 +09:00 committed by GitHub
parent edaeef9418
commit cbc60aa07a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -341,6 +341,13 @@ CNetConnectionPropertyUi::LANPropertiesUIDlg(
return PSNRET_NOERROR;
}
#endif
if (lppl->hdr.code == NM_DBLCLK)
{
This = (CNetConnectionPropertyUi*)GetWindowLongPtr(hwndDlg, DWLP_USER);
This->ShowNetworkComponentProperties(hwndDlg);
return FALSE;
}
if (lppl->hdr.code == LVN_ITEMCHANGING)
{
ZeroMemory(&li, sizeof(li));