Article View: news.software.readers
Article #85048Re: REPOST: XNews - Minor bug - "Followup" window appearing suddenly
From: CBFalconer
Date: Tue, 02 Oct 2001 21:44
Date: Tue, 02 Oct 2001 21:44
59 lines
3672 bytes
3672 bytes
John Carlyle-Clarke wrote: > > [Repost - think the server ate my first attempt - if not, sorry for > repetition] > > This may be of interest to XNews developers. I use Delphi and I was > suffering from the "New Edit Window" bug, where new edit windows keep > appearing for no apparent reason. (A search of Google Groups > borland.public.delphi.ide for "new edit window" will reveal that it's a > common problem). > > There is a fix for Delphi by Jan Sprengers. Here is his explanation of > the problem: > > "On some keyboards, Windows generates a WM_KEYDOWN message with a > virtual key-code of 0. Every WM_KEYDOWN message is processed by > Delphi and it is checked if the pressed key happens to be a shortcut > for a popup menu on the window receiving the WM_KEYDOWN message. > > "The problem is that the code to check for the shortcut is a bit > imprudent and also checks the shortcut against this 0 virtual > key-code. The result is that the first menu option of the popup menu > that has *no* shortcut (in this case 'New Edit Window') is launched > because its ShortCut property has a value of 0. > > "This fix filters out all WM_KEYDOWN messages with a virtual key-code > of 0 by placing a Windows hook upon installing itself in the Delphi > IDE." > > The relevant part is that I notice I get the same on XNews, when > reading posts. If you look at the popup menu, Follow-Up to Newsgroup > is the first item, although it does have a shortcut associated which is > strange. > > I asked whether this meant that all software written in Delphi would > have this problem and needed to be patched, and the answer was "Yes." > > Jan said "... in your own applications it should be enough to override > the window procedure instead of placing a window hook like in the IDE > fix." > > You can see the thread at: > > http://groups.google.com/groups?hl=en&th=b462a03e9c1d0a6f&seekm=3bb196d > 7.5776115%40newsgroups.borland.com&frame=off > > I hope this is of use! Thanks to the developers for producing such a > superb reader. The only developer is Luu Tran, who seems to be vacationing. If and when he reappears would be a good time to repost. There appears to be no e-mail address for him. -- Chuck F (cbfalconer@yahoo.com) (cbfalconer@XXXXworldnet.att.net) (Remove "XXXX" from reply address. yahoo works unmodified) mailto:uce@ftc.gov (for spambots to harvest)
Technical Details
Message-ID:
<3BBA32B2.82B3CBB2@yahoo.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn4feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mailReferences:
<Xns912EAF476F5D0johncceuroplacercouk@192.168.1.69>Show Full Headers
Complete Article Headers
Message-ID: <3BBA32B2.82B3CBB2@yahoo.com> Subject: Re: REPOST: XNews - Minor bug - "Followup" window appearing suddenly Date: Tue, 02 Oct 2001 21:44:38 GMT From: CBFalconer <cbfalconer@yahoo.com> References: <Xns912EAF476F5D0johncceuroplacercouk@192.168.1.69> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn4feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Reply-To: cbfalconer@worldnet.att.net Organization: Ched Research X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: news.software.readers Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 58 NNTP-Posting-Host: 12.90.173.103 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1002059078 12.90.173.103 (Tue, 02 Oct 2001 21:44:38 GMT) NNTP-Posting-Date: Tue, 02 Oct 2001 21:44:38 GMT