From: Lyle Johnson Date: 2005-02-08T04:31:30+09:00 Subject: Re: FXRuby - handling Alt+F4 On Tue, 8 Feb 2005 04:25:12 +0900, Stephan K�mper > I'm sure there are ways to close an application without having a menu > bar. Lyle? I haven't tried this, but what happens if you just add the accelerator directly to the main window's accelerator table, i.e. mainWindow.addAccel(fxparseAccel("Alt+F4"), app, FXApp::ID_QUIT)) Hope this helps, Lyle