shell32: ABM_NEW was using parameters that are not set.

This commit is contained in:
Aric Stewart 2006-10-27 10:44:13 -05:00 committed by Alexandre Julliard
parent 1b039cc3ba
commit 418d093325
1 changed files with 2 additions and 2 deletions

View File

@ -864,8 +864,8 @@ UINT WINAPI SHAppBarMessage(DWORD msg, PAPPBARDATA data)
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));