mirror of
https://github.com/reactos/reactos.git
synced 2026-06-04 02:10:28 +08:00
[SHELL32] CDefView::InvokeContextMenuCommand must specify a showcmd (#6966)
ZeroMemory causes nShow to be SW_HIDE. This causes shell extensions that propagates the nShow all the way, will start child processes hidden.
This commit is contained in:
@@ -1983,6 +1983,7 @@ HRESULT CDefView::InvokeContextMenuCommand(CComPtr<IContextMenu>& pCM, LPCSTR lp
|
||||
cmi.cbSize = sizeof(cmi);
|
||||
cmi.hwnd = m_hWnd;
|
||||
cmi.lpVerb = lpVerb;
|
||||
cmi.nShow = SW_SHOW;
|
||||
|
||||
if (GetKeyState(VK_SHIFT) < 0)
|
||||
cmi.fMask |= CMIC_MASK_SHIFT_DOWN;
|
||||
|
||||
Reference in New Issue
Block a user