如何在運行我的程序時屏閉ctrl+alt+del三鍵?要用到WinAPI嗎?急!!!

解决方案 »

  1.   

    public override bool PreProcessMessage( ref Message msg )
    {
         Keys keyCode = (Keys)(int)msg.WParam & Keys.KeyCode;
         if(msg.Msg == WM_KEYDOWN )
         {
                   //return true;//Don't handle key-down message
    在此试试keyCode的值
         }
         return base.PreProcessMessage(ref msg);
    }
      

  2.   

    It is not easy.
    There is a sample in C
    http://www.codeproject.com/useritems/GINA_SPY.asp
      

  3.   

    GINA的方法,非常麻烦。请参考下面的链接,有现成的源码和目标库。
    http://www.codeproject.com/win32/AntonioWinLock.asp
      

  4.   

    把Ctrl,Alt,Del3个键敲掉,呵呵,开个玩笑
      

  5.   

    我以前给别人的一个回复:
    http://community.csdn.net/Expert/topic/4535/4535356.xml?temp=.6440241
      

  6.   

    先看看lovevsnet(編程一把手)的回复
      

  7.   

    謝謝大家!特別謝謝Muf(沐枫),現在給分!!!!!!!!!