1

The Alt-space key combination in Windows brings up the "Window Menu" -i.e., the menu you get when right-clicking the title bar. It has items "Restore", "Maximize", "Minimize", "Close", etc. I'd like to disable it. Is there any way to do so in a Java Swing program? I believe the OS gets this before it gets to the application.

Steve Cohen
  • 4,679
  • 9
  • 51
  • 89
  • 1
    The short answer, AFAIK is no... – MadProgrammer Feb 10 '14 at 22:44
  • 1
    *"I'd like to disable it."* ***Why?*** Any app. that broke such basic functionality would immediately get uninstalled from *my* PC. – Andrew Thompson Feb 11 '14 at 00:15
  • 2
    @AndrewThompson - Why, you ask? Because the users of this system work with no other program than this one and use the keyboard almost exclusively. Their Windows is stripped down of everything, no Outlook, no Office, no browsers. This system replaces an ancient legacy system. If their fingers slip, they might type Alt-Space accidentally, and all subsequent typing goes into the menu. It would be nice to be able to prevent this, although it looks to be virtually impossible. In any normal situation, I'd agree with you that it makes no sense to do this. – Steve Cohen Feb 11 '14 at 16:12
  • @SteveCohen did you ever find a solution? – Dirk Boer Dec 25 '21 at 17:42
  • 1
    @DirkBoer It's been seven years and I've retired since. I don't think I ever did. – Steve Cohen Dec 26 '21 at 20:08
  • 1
    @DirkBoer I actually don't browse SO anymore but I do still get emails informing me when one of my posts has been answered or commented on. Then I like to look. – Steve Cohen Dec 27 '21 at 01:10

0 Answers0