help to disable taskmanagerof windows

Post Reply
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

help to disable taskmanagerof windows

Post by Silvio »

How I can make to block the pssibility to enable/disable taskmanager of windows if I press ctrl+alt+del ?
How I can disable also the Ctrl+c press keys ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

I resolve it
Best Regards, Saludos

Falconi Silvio
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Post by karinha »

Code: Select all


/*
// Antonio Carlos Pantaglione
// Toninho@fwi.com.br
// Ago/2001

#include "fivewin.ch"

procedure main()

  CtrlAltDel( .f. )

  MsgAlert( "CTRL-ALT-DEL DESLIGADO" + CRLF + "Please, press CTRL + ALT + DEL", "Desligado" )

  CtrlAltDel( .t. )

  MsgAlert( "CTRL-ALT-DEL LIGADO" + CRLF + "Please, press CTRL + ALT + DEL", "Ligado" )

return

*/

// Antonio Carlos Pantaglione
// Toninho@fwi.com.br
// Ago/2001

/*
#include "fivewin.ch"
#include "dll.ch"

//----------------------------------------------------------------------------//

Procedure CtrlAltDel( lState )

   if !lState
      SysParInfo( 97, 1, 0, 0 )
   else
      SysParInfo( 97, 0, 0, 0 )
   endif

return

//----------------------------------------------------------------------------//

dll32 static function SysParInfo( uAction AS LONG, uParam AS LONG, vParam AS LONG, uWinIni AS LONG ) ;
      AS LONG PASCAL  FROM "SystemParametersInfoA" LIB "User32.dll"

//----------------------------------------------------------------------------//
*/

João Santos - São Paulo - Brasil
User avatar
Andrés González
Posts: 625
Joined: Thu Jan 19, 2006 10:45 am
Location: Mallorca

Post by Andrés González »

Silvio.

How you solve it? because the source from Karinha don't work in a WINXP

Thanks
Saludos

Andrés González desde Mallorca
Post Reply