Disabling ALT-TAB switching with screen saver? 
Author Message
 Disabling ALT-TAB switching with screen saver?

I'd like to disable ALT-TAB switching so people can't switch out of
the password-protected screen saver I'm writing...any ideas?

Mucho TIA,

Brent P. Newhall



Mon, 11 Sep 2000 03:00:00 GMT  
 Disabling ALT-TAB switching with screen saver?

The SystemParameterInfo API Call can disable the CTRL ALT DEL and
ALT+TAB sequence. This is achieved by setting the mode as Screen Saver
on form load.

Public Declare Function SystemParametersInfo& Lib "user32" Alias _
"SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long,
lpvParam _
As Any, ByVal fuWinIni As Long)

    '-- Turn ON ScreenSaver mode.
    lRet = SystemParametersInfo(SPI_SCREENSAVERRUNNING, True, lpvParam,
0)

    '-- Turn OFF ScreenSaver mode.
    lRet = SystemParametersInfo(SPI_SCREENSAVERRUNNING, False, lpvParam,
0)

This should do the trick.

Ricardo H.Marshall
Project Leader

Quote:
> -----Original Message-----


> Posted At: Thursday, March 26, 1998 5:36 PM
> Posted To: misc
> Conversation:      Disabling ALT-TAB switching with screen saver?
> Subject:   Disabling ALT-TAB switching with screen saver?

> I'd like to disable ALT-TAB switching so people can't switch out of
> the password-protected screen saver I'm writing...any ideas?

> Mucho TIA,

> Brent P. Newhall



Sat, 16 Sep 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Disabling alt+tab window switching

2. How do you disable Ctrl-Alt-Del in VB3 Screen Saver

3. Disable CTRL ALT DELETE, CTRL ESC, and ALT TAB with VB5/NT40

4. THIS IS HOW 2 DISABLE ALT-TAB and CTRL-ALT-DELETE in W95 VB

5. VB4.0 W95 - How to disable ALT-TAB and CTRL-ALT-DELETE

6. Disable (Ctrl+Alt+Del),(Ctrl+Esc),(Alt+Tab) in NT

7. Disabling ctl+alt+del and alt+tab chain

8. Disable ctrl+esc ctrl+alt+del alt+tab

9. Disable the CTRL ALT DELETE, CTRL ESC, ALT TAB

10. Disabling Alt-Tab, Taskbar and Ctr-Alt-Del

11. Disabling ctl+alt+del and alt+tab chain

12. Disable alt-tab and ctrl-alt-delete

 

 
Powered by phpBB® Forum Software