FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour help to disable taskmanagerof windows
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
help to disable taskmanagerof windows
Posted: Thu Apr 05, 2007 07:27 PM

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
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
help to disable taskmanagerof windows
Posted: Thu Apr 05, 2007 08:15 PM

I resolve it

Best Regards, Saludos



Falconi Silvio
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
help to disable taskmanagerof windows
Posted: Thu Apr 05, 2007 09:48 PM
/*
// 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 - Phone: +55(11)95150-7341
Posts: 632
Joined: Thu Jan 19, 2006 10:45 AM
help to disable taskmanagerof windows
Posted: Fri Apr 06, 2007 05:53 AM

Silvio.

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

Thanks

Saludos



Andrés González desde Mallorca

Continue the discussion