Re: Attn:Greg Haberek, Win32lib 0.70.4 & BatMon
- Posted by CChris <christian.cuvier at agricultu?e.gouv.fr> Mar 22, 2008
- 684 views
Greg Haberek wrote: > > Pete Stoner wrote: > > > > Greg, since you are still around could you take a look at why your BatMon > > prog > > docks wrongly with Win32Lib 70.4 (you can comment out the xControls call). > > > > With Win32Lib 60.6 it docks as expected at the top of the screen, but when I > > switch to Win32Lib 70.4 it appears about 25 pixels below the top of the > > screen. > > I tried to find the cause and when I comment out the VOID = SHAppBarMessage( > > ABM_SETPOS, abd ) call it docks to the top again. There is obviously > > something > > different between the 2 Win32lib versions that causes this but I can't see > > what > > it is.. > > I'll check this out while I'm at work since I have Windows XP and a laptop at > my disposal. Shouldn't be too difficult to discern. > > -Greg There had been a request on this forum that getClientRect(Screen) return the usable area of the screen rather than the raw size, which was the earlier behaviour. You should be able to find this change mentioned in the change log for 70.1 or later. In a nutshell, the call to ShAppBarMessage() was working around a bug that is now fixed. CChris