From f57f51fd772c1d062a6202b1327b5484ad11d99a Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Sat, 6 Dec 2008 11:28:07 -0600 Subject: [PATCH] explorer: improve ABM_GETTASKBARPOS stub --- programs/explorer/appbar.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/programs/explorer/appbar.c b/programs/explorer/appbar.c index 8102318..2d2f35c 100644 --- a/programs/explorer/appbar.c +++ b/programs/explorer/appbar.c @@ -195,7 +195,12 @@ static UINT_PTR handle_appbarmessage(DWORD msg, PAPPBARDATA abd) return ABS_ALWAYSONTOP | ABS_AUTOHIDE; case ABM_GETTASKBARPOS: WINE_FIXME("SHAppBarMessage(ABM_GETTASKBARPOS, hwnd=%p): stub\n", abd->hWnd); - return FALSE; + /* Report the taskbar is at the bottom of the screen. */ + abd->rc.left = 0; + abd->rc.right = GetSystemMetrics(SM_CXSCREEN); + abd->rc.bottom = GetSystemMetrics(SM_CYSCREEN); + abd->rc.top = abd->rc.bottom-1; + return TRUE; case ABM_ACTIVATE: WINE_FIXME("SHAppBarMessage(ABM_ACTIVATE, hwnd=%p, lparam=%lx): stub\n", abd->hWnd, abd->lParam); return TRUE; -- 1.6.0.4