https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cbc60aa07a024f77f543f…
commit cbc60aa07a024f77f543f813b0c648688050c3a6
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Mon Nov 20 21:48:18 2023 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon Nov 20 21:48:18 2023 +0900
[NETSHELL] Double click on component should open properties (#6008)
Based on KRosUser's lanprop.patch. Add NM_DBLCLK handling.
CORE-19330
---
dll/shellext/netshell/lanconnectui.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/dll/shellext/netshell/lanconnectui.cpp
b/dll/shellext/netshell/lanconnectui.cpp
index 70b72549171..8213eb284a5 100644
--- a/dll/shellext/netshell/lanconnectui.cpp
+++ b/dll/shellext/netshell/lanconnectui.cpp
@@ -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));