This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Alt-Esc works, why can't we pass Alt-Tab to the WM?
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 4 Jul 2003 10:35:39 -0400 (EDT)
- Subject: Re: Alt-Esc works, why can't we pass Alt-Tab to the WM?
- Reply-to: cygwin-xfree at cygwin dot com
On Fri, 4 Jul 2003, Sam Edge wrote:
> Igor Pechtchanski <pechtcha@cs.nyu.edu> wrote in <Pine.GSO.4.44.0307021924090.17919-100000@slinky.cs.nyu.edu>
> in gmane.os.cygwin.xfree on Wed, 2 Jul 2003 19:26:44 -0400 (EDT):
>
> > On Wed, 2 Jul 2003, Harold L Hunt II wrote:
> > > There is the possibility that Alt+Tab can only be trapped on NT-based
> > > OSes, but that isn't much more to worry about.
>
> > Win98, at least, has a Misc tab in shortcut properties, that lists Windows
> > shortcut keys to ignore (let the application handle). Alt-Tab is one of
> > them. Thus, you could instruct the users set up a shortcut to XWin.exe
> > and let it handle Alt-Tab, even if XWin.exe can't capture it itself.
> > P.S. I'm not sure Win95/ME have this feature.
>
> I think you'll find that the Misc property page is only available with
> shortcuts to DOS-mode applications. Windows-native executables like
> XWin.exe don't have it.
Yes, you're right. However, after some more digging, it seems that
keyboard hooks (perhaps similar to what Harold suggested earlier?) *can*
be used on Win9x to intercept hotkeys (e.g., Alt-Tab) in Win32 apps. I
haven't found the exact instructions on MSDN, though...
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton