🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17689

Re: Alt-Enter

#17689
From: John P. McGrath
Date: Mon, 19 Oct 1998 00:00
26 lines
1204 bytes
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.

-- 
Regards,

John P. McGrath
<mcgrath@enter.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.1094bc787f80c59b9896e0@forums.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3626181A.34F4805C@dm.net.lb>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,6d8d3766b8c5d0e1
X-Google-Attributes: gidf74b3,public
From: mcgrath@enter.net (John P. McGrath)
Subject: Re: Alt-Enter
Date: 1998/10/19
Message-ID: <MPG.1094bc787f80c59b9896e0@forums.inprise.com>
X-Deja-AN: 402736835
References: <3626181A.34F4805C@dm.net.lb>
Organization: Software Consulting Services
Newsgroups: borland.public.jbuilder.java.language