Article View: news.software.readers
Article #190749Re: Xnews Metrics Bug
From: zziffle
Date: Sun, 17 Sep 2006 20:32
Date: Sun, 17 Sep 2006 20:32
62 lines
3791 bytes
3791 bytes
Mike Yetto <mike.yetto@nycap.invalid> wrote in news:Xns984062E506652uniquelyme@tomate.motzarella.org: mike yetto wrote: > > Bite me little one. > > > Until you've seen the code you have no idea how easy or hard it would > be to fix it. I've heard this many times from someone who just > learned a little and thereby knows all. > > When your "baby" is complete let us know. > > > Mike "New Balance to you" Yetto Holy self-appointed vigilante newsgroup gatekeeper batman. This yetto fellow needs to lighten up a bit. Sorry Mike, but it's simply a fact that when a Windows application restores its position one taskbar width closer to the top or the left, it's because it is using mismatch postion store and restore calls. In particular, the app's postion is being retrieved with a call to GetWindowPlacement() but being set at startup by a call to SetWindowPos() rather than SetWindowPlacement(). And it's also simply a fact that it's pretty easy to change the mismatched call to a matched one (although they do take different arguments). If the call is in the xnews code, it's probably worth doing, imo. If this wrong call is being made from the libraries, then it's the Delphi teams problem. But really Mike, this isn't about you at all. My post is simply a bit of rather mundane information directed at xnews' author. If it's of no value or interest to him, great, no harm done. Your self-volunteered intervention services of dismissing the posting of this info based on your (mistaken) assumptions about my credentials adds nothing of interest or value. A couple of points of interest (at least to me): While poking around msdn to find the function call names in question for this reply, I found the following blog excerpt from one of Microsoft's interface developers. Turns out Microsoft originally wanted the taskbar at the top in Windows '95 but had to put it at the bottom because too many apps were misbehaving in the way we're talking about here. (Yes Mike, many in the 90s, not so many now.) http://blogs.msdn.com/oldnewthing/archive/2003/09/12/54896.aspx Finally, and more importantly, my orginal post was way out of whack in relating this screen creep/taskbar issue to the minimized-can't-restore metrics problem. I was way too hasty in trying to make that connection without any evidence. The two problems are not related and I can't initiate the failure to display or restore by letting xnews "creep" off the screen. This means, at least to me, that this creeping problem I've raised here is pretty trivial. Adidas baby...
Technical Details
Message-ID:
<Xns984189CEBC4F9azzifflepost@24.64.223.211>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!pd7cy3no!pd7cy4no!shaw.ca!pd7tw1no.POSTED!53ab2750!not-for-mailReferences:
<Xns983FA4B2D1544azzifflepost@24.64.223.211> <Xns983FEC2817E21uniquelyme@tomate.motzarella.org> <Xns983FD8DB9BB3Eazzifflepost@24.64.223.211> <Xns984062E506652uniquelyme@tomate.motzarella.org>Show Full Headers
Complete Article Headers
Message-ID: <Xns984189CEBC4F9azzifflepost@24.64.223.211> Subject: Re: Xnews Metrics Bug Date: Sun, 17 Sep 2006 20:32:34 GMT From: zziffle <nomail@thank.you> References: <Xns983FA4B2D1544azzifflepost@24.64.223.211> <Xns983FEC2817E21uniquelyme@tomate.motzarella.org> <Xns983FD8DB9BB3Eazzifflepost@24.64.223.211> <Xns984062E506652uniquelyme@tomate.motzarella.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!pd7cy3no!pd7cy4no!shaw.ca!pd7tw1no.POSTED!53ab2750!not-for-mail X-Trace-PostClient-IP: 24.108.201.248 Newsgroups: news.software.readers User-Agent: Xnews/2006.08.24 Lines: 62 NNTP-Posting-Host: 24.64.223.206 X-Complaints-To: abuse@shaw.ca X-Trace: pd7tw1no 1158525154 24.64.223.206 (Sun, 17 Sep 2006 14:32:34 MDT) NNTP-Posting-Date: Sun, 17 Sep 2006 14:32:34 MDT Organization: Shaw Residential Internet