Module: wine Branch: master Commit: 418d093325b09dacdae57c0a1737a3c3fa2280b1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=418d093325b09dacdae57c0a17...
Author: Aric Stewart aric@codeweavers.com Date: Fri Oct 27 10:44:13 2006 -0500
shell32: ABM_NEW was using parameters that are not set.
---
dlls/shell32/shell32_main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c index cd9dea9..0c0c3b8 100644 --- a/dlls/shell32/shell32_main.c +++ b/dlls/shell32/shell32_main.c @@ -864,8 +864,8 @@ UINT WINAPI SHAppBarMessage(DWORD msg, P data->hWnd=GetActiveWindow(); return TRUE; case ABM_NEW: - SetWindowPos(data->hWnd,HWND_TOP,rec.left,rec.top, - width,height,SWP_SHOWWINDOW); + /* cbSize, hWnd, and uCallbackMessage are used. All other ignored */ + SetWindowPos(data->hWnd,HWND_TOP,0,0,0,0,SWP_SHOWWINDOW|SWP_NOMOVE|SWP_NOSIZE); return TRUE; case ABM_QUERYPOS: GetWindowRect(data->hWnd, &(data->rc));