From: Matthias Schwarzott zzam@gentoo.org
Some applications produce a long stream of these messages: SHAppBarMessage(ABM_GETSTATE): stub SHAppBarMessage(ABM_GETTASKBARPOS, hwnd=%p): stub
Signed-off-by: Matthias Schwarzott zzam@gentoo.org --- programs/explorer/appbar.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/programs/explorer/appbar.c b/programs/explorer/appbar.c index 18b125257ee..364f18446a4 100644 --- a/programs/explorer/appbar.c +++ b/programs/explorer/appbar.c @@ -198,10 +198,16 @@ static UINT_PTR handle_appbarmessage(DWORD msg, struct appbar_data_msg *abd) } return TRUE; case ABM_GETSTATE: - FIXME( "SHAppBarMessage(ABM_GETSTATE): stub\n" ); + { + static int once; + if (!once++) FIXME( "SHAppBarMessage(ABM_GETSTATE): stub\n" ); + } return ABS_ALWAYSONTOP | ABS_AUTOHIDE; case ABM_GETTASKBARPOS: - FIXME( "SHAppBarMessage(ABM_GETTASKBARPOS, hwnd=%p): stub\n", hwnd ); + { + static int once; + if (!once++) FIXME( "SHAppBarMessage(ABM_GETTASKBARPOS, hwnd=%p): stub\n", hwnd ); + } /* Report the taskbar is at the bottom of the screen. */ abd->rc.left = 0; abd->rc.right = GetSystemMetrics(SM_CXSCREEN);