Article View: borland.public.cppbuilder.nativeapi
Article #8525Re: Enable or disable ALT+TAB fast task switching under XP
From: JF Jolin
Date: Wed, 20 Oct 2004 20:04
Date: Wed, 20 Oct 2004 20:04
30 lines
1652 bytes
1652 bytes
Le Wed, 20 Oct 2004 17:25:42 +0200, Paolo Borlandi <pborlandi@virgilio.it> a οΏ½crit: > Hi All > > Is it possible to enable or disable ALT+TAB fast task switching under > windows XP. I do it in Win98 by this function > > SystemParametersInfo( SPI_SCREENSAVERRUNNING,(WORD)!Enabled,&OldVal,0); > > > THANK YOU VERY MUCH!!! > > Paolo from Italy > > > You probably meant SPI_SETFASTTASKSWITCH (obsolete) instead of SPI_SCREENSAVERRUNNING. With RegisterHotKey(hWnd, idAltTabKey, MOD_ALT, VK_TAB ) you can attach behavior of ALt+Tab to current application. Do not forget UnregisterHotKey when leaving. -- JF Jolin [Montreal, Canada]
Technical Details
Message-ID:
<opsf6p1crtz6rw7b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4176832d@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,505a9d8127706b03 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Enable or disable ALT+TAB fast task switching under XP References: <4176832d@newsgroups.borland.com> Message-ID: <opsf6p1crtz6rw7b@newsgroups.borland.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed From: JF Jolin <jfj@nospam.com> MIME-Version: 1.0 Date: Wed, 20 Oct 2004 16:04:14 -0400 User-Agent: Opera7.11/Win32 M2 build 2887 NNTP-Posting-Host: 66.158.146.129 X-Trace: newsgroups.borland.com 1098302682 66.158.146.129 (20 Oct 2004 13:04:42 -0700) Lines: 30 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail