From 6e30d1ca9f09a7bdf2babc43af2879393f96f522 Mon Sep 17 00:00:00 2001 From: Joachim Henze Date: Sun, 19 Feb 2023 22:56:02 +0100 Subject: [PATCH] [0.4.11][NETSHELL] Repair "Network Connection 'State' does nothing" CORE-18844 It regressed in this branch by 0.4.11-release-160-g 0e8bf0cbed523dd7aa84745253f9bab21d7e3f61 ( in master it was 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. Fix picked from: 0.4.15-dev-5712-g a5cd42c1ea8c2106a1a15dde66530d6f3b4ae02e --- 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 ffb5637be10..a7792793e99 100644 --- a/dll/shellext/netshell/lanstatusui.cpp +++ b/dll/shellext/netshell/lanstatusui.cpp @@ -923,7 +923,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;