Article View: borland.public.jbuilder.java.language
Article #17704Re: Alt-Enter
From: Vernon McPherron
Date: Mon, 19 Oct 1998 00:00
Date: Mon, 19 Oct 1998 00:00
27 lines
1553 bytes
1553 bytes
"John P. McGrath" wrote: > Hadi Abdo <skfdid@dm.net.lb> wrote: > > > Have anyone tried to listen to Alt-Enter key combination. > > I have tried this code: > > : > > : > > I presume you are running your program under some flavor of > Windows, where the ALT-Enter key sequence toggles the display > between full-screen mode and windowed mode. > > There is nothing wrong with your code. It is just that Windows > does not pass that key combination through to your Java program. > So Java never sees the key event. > > I do not know of any way of telling Windows to ignore this key > combination, and to pass it to your program. My guess is that > there is some way to do it, probably buried somewhere deep in the > NT registry. If that is the case.... And you are running a "dos prompt" you can set it to not look (or capture) some key combos. Go into the dos prompt setup and unselect the alt + enter.
Technical Details
Message-ID:
<362B915E.60C14C81@xnote.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3626181A.34F4805C@dm.net.lb> <MPG.1094bc787f80c59b9896e0@forums.inprise.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,6d8d3766b8c5d0e1 X-Google-Attributes: gidf74b3,public From: Vernon McPherron <vernon@xnote.com> Subject: Re: Alt-Enter Date: 1998/10/19 Message-ID: <362B915E.60C14C81@xnote.com> X-Deja-AN: 402905949 Content-Transfer-Encoding: 7bit References: <3626181A.34F4805C@dm.net.lb> <MPG.1094bc787f80c59b9896e0@forums.inprise.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Reply-To: vernon@xnote.com Newsgroups: borland.public.jbuilder.java.language