From 5e29da18bfb397a8c677363d208b88ea0cfbca33 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Thu, 20 Aug 2009 01:49:25 +0000 Subject: [PATCH] - Implement window message is active icon. svn path=/trunk/; revision=42788 --- reactos/dll/win32/user32/windows/defwnd.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/reactos/dll/win32/user32/windows/defwnd.c b/reactos/dll/win32/user32/windows/defwnd.c index 8eb43ebc7df..2784ccba147 100644 --- a/reactos/dll/win32/user32/windows/defwnd.c +++ b/reactos/dll/win32/user32/windows/defwnd.c @@ -1525,7 +1525,15 @@ User32DefWindowProc(HWND hWnd, return ((LRESULT)LoadIconW(0, IDI_APPLICATION)); } - /* FIXME: WM_ISACTIVEICON */ + case WM_ISACTIVEICON: + { + PWND pWnd; + BOOL isai; + pWnd = ValidateHwnd(hWnd); + if (!pWnd) return 0; + isai = (pWnd->state & WNDS_ACTIVEFRAME) != 0; + return isai; + } case WM_NOTIFYFORMAT: {