How trigger taskbar bounds recalculation?
- From: "Larry O'Brien" <spambox@xxxxxxxxxxx>
- Date: Fri, 27 Jan 2006 15:34:54 -1000
I am writing an application that manipulates the results of GetMonitorInfo()
to create a desktop smaller than the physical resolution (using the area
outside of the lower-resolution desktop for my own purposes). This works
fine for windows and icons, but only occasionally does the Taskbar
recalculate and reposition itself in the lower-resolution desktop. I've
tried a couple things that I thought might work, like hiding and unhiding
the taskbar and refreshing the desktop, but they don't do it. I can achieve
the effect by killing the explorer process and restarting the shell, but
obviously that's pretty drastic. I'm sure I'm missing something obvious,
like a variant on SHNotifyChange() or a WM_ that I can post, but I haven't
gotten anywhere. Any thoughts?
TIA,
Larry
http://www.knowing.net
.
- Follow-Ups:
- Re: How trigger taskbar bounds recalculation?
- From: David Lowndes
- Re: How trigger taskbar bounds recalculation?
- Prev by Date: Re: Cannot compile sample with VC++ 6 SE
- Next by Date: Re: How trigger taskbar bounds recalculation?
- Previous by thread: Re: Cannot compile sample with VC++ 6 SE
- Next by thread: Re: How trigger taskbar bounds recalculation?
- Index(es):