From a833f63783e802c9f1262f247ced8b421a87f2c2 Mon Sep 17 00:00:00 2001 From: Stephane Lussier Date: Sat, 21 Aug 1999 14:46:06 +0000 Subject: [PATCH] Avoid changing the activation state in EnableMenuItem. --- controls/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/menu.c b/controls/menu.c index c076f2e509b..60552d4b145 100644 --- a/controls/menu.c +++ b/controls/menu.c @@ -3227,7 +3227,7 @@ UINT WINAPI EnableMenuItem( HMENU hMenu, UINT wItemID, UINT wFlags ) /* Refresh the frame to reflect the change*/ SetWindowPos(parentMenu->hWnd, 0, 0, 0, 0, 0, - SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER); + SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER); } }