From a5cd42c1ea8c2106a1a15dde66530d6f3b4ae02e Mon Sep 17 00:00:00 2001 From: Joachim Henze Date: Sun, 19 Feb 2023 18:44:21 +0100 Subject: [PATCH] [NETSHELL] Repair "Network Connection 'State' does nothing" CORE-18844 It regressed in master by 0.4.15-dev-5613-g 7a17c7d9adadf88eafc382d792771bea5fc412f8 It was the only place within the ros sources where message WM_SHOWSTATUSDLG was sent also from code. And therefore the only one that needed to be updated as well. --- dll/shellext/netshell/lanstatusui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/shellext/netshell/lanstatusui.cpp b/dll/shellext/netshell/lanstatusui.cpp index a2c8d37dcc6..1c57801b736 100644 --- a/dll/shellext/netshell/lanstatusui.cpp +++ b/dll/shellext/netshell/lanstatusui.cpp @@ -1027,7 +1027,7 @@ CLanStatus::ShowStatusDialogByCLSID(const GUID *pguidCmdGroup) { if (IsEqualGUID(pItem->guidItem, *pguidCmdGroup)) { - SendMessageW(pItem->hwndDlg, WM_SHOWSTATUSDLG, 0, WM_LBUTTONDOWN); + SendMessageW(pItem->hwndDlg, WM_SHOWSTATUSDLG, 0, WM_LBUTTONUP); return S_OK; } pItem = pItem->pNext;