Platform SDK Shell >> SHAppBarMessage

by aprile1770 » Fri, 09 Jan 2004 23:55:47 GMT

Hi,
I am using the SHAppBarMessage API with ABM_GETTASKBARPOS as first
parameter. I have a problem on a NT machine: the uEdge property always
gives value "0" irrispective of taskbar position. This happen on a NT
4.0 sp6 with IE 6.0 sp1.
Can anyone help me?
Thanks MC


Platform SDK Shell >> SHAppBarMessage

by Jim Barry » Sun, 11 Jan 2004 03:41:21 GMT





As per the documentation, ABM_GETTASKBARPOS only returns the taskbar coordinates. I guess it's not too hard to figure out which edge it's on though, see KB article 179908 for example.

--
Jim Barry, MVP for Windows SDK
"Honor Bound to Defend Freedom" - slogan displayed at the gates of Camp
Delta, Guantanamo Bay, Cuba, where over 600 prisoners are held indefinitely
by the U.S. military, without trial, in defiance of international law.



Platform SDK Shell >> SHAppBarMessage

by aprile1770 » Mon, 12 Jan 2004 21:25:55 GMT






Thanks, now it's all ok.
Michi.


SHAppBarMessage

by Raymond Chen » Fri, 16 Jan 2004 13:28:55 GMT

If you have multiple monitors, knowing that it's the "top" edge doesn't help
you anyway - you need to know the top edge of >which< window. So you have to
look at the coordinates anyway.