https://git.reactos.org/?p=reactos.git;a=commitdiff;h=29c8dc82f634f517b96776d6d37137b872325b2d

commit 29c8dc82f634f517b96776d6d37137b872325b2d
Author:     Whindmar Saksit <whinds...@proton.me>
AuthorDate: Sat Aug 24 02:45:19 2024 +0200
Commit:     GitHub <nore...@github.com>
CommitDate: Sat Aug 24 02:45:19 2024 +0200

    [SHDOCVW] CNSCBand must specify a ShowWindow command (#7268)
---
 dll/win32/shdocvw/CNSCBand.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dll/win32/shdocvw/CNSCBand.cpp b/dll/win32/shdocvw/CNSCBand.cpp
index 976acb50a7d..d40a4c8ca37 100644
--- a/dll/win32/shdocvw/CNSCBand.cpp
+++ b/dll/win32/shdocvw/CNSCBand.cpp
@@ -170,6 +170,7 @@ HRESULT CNSCBand::_ExecuteCommand(_In_ 
CComPtr<IContextMenu>& menu, _In_ UINT nC
     CMINVOKECOMMANDINFO cmi = { sizeof(cmi) };
     cmi.lpVerb = MAKEINTRESOURCEA(nCmd);
     cmi.hwnd = browserWnd;
+    cmi.nShow = SW_SHOW;
     if (::GetKeyState(VK_SHIFT) < 0)
         cmi.fMask |= CMIC_MASK_SHIFT_DOWN;
     if (::GetKeyState(VK_CONTROL) < 0)

Reply via email to