> Hi
> In a programme I disable alt tab etc as follows:
>
>    Dummy:=0;
>
> SystemParametersInfo(SPI_SETFASTTASKSWITCH,1,@Dummy,0);//Disable Alt-Tab
>    SystemParametersInfo(SPI_SCREENSAVERRUNNING,1,@Dummy,0);//Disable
> Ctrl-Alt-Del
>
> It has worked flawlessly for yonks..
>
> Now I have a customer telling me in Windows 2000 he can Alt Tab between
> programmes.
>
> Has Microsoft shifted the goalposts? Any light, thoughts, etc welcome.
>

If it's a dedicated machine (or user) for your app, can you get away with
setting the registry entry:

HKEY_CURRENT_USER\Control Panel\Desktop\Coolswitch = 0

I haven't tried this in W2K but it works in NT4.
The only problem is that I think it requires a re-login or explorer
restarted to work.


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to