RT.1.想说"wm_syscommand"的就算了吧,根本没用
2.不用定时器.我觉得用定时器好囧

解决方案 »

  1.   


    procedure TForm1.FormCreate(Sender: TObject);begin
    with   Application   do
       SetWindowLong(Handle,   GWL_EXSTYLE,   GetWindowLong(Handle,   GWL_EXSTYLE)   and
          not   WS_EX_APPWINDOW   or   WS_EX_TOOLWINDOW);
       SetWindowPos(Handle,   HWND_TOPMOST,   0,   0,   0,   0,   SWP_NOMOVE   or   SWP_NOSIZE);
      

  2.   

    http://topic.csdn.net/t/20040818/16/3287187.html
    这个贴子中讨论过,并提供了另外一种方法
      

  3.   

    不要说wm_syscommand根本没有用,应该是你的程序有问题
      

  4.   

    对了,有没有办法使在按了CTRL+ALT+DEL后屏幕被清空显示"Windows安全"登录框时,仍然在桌面显示?
      

  5.   


     TForm1   =   class(TForm)   
          protected   
              procedure   CreateParams(var   Params:   TCreateParams);   override;   
          end;   
        
      procedure   TForm1.CreateParams(var   Params:   TCreateParams);   
      begin   
          inherited;   
          Params.WndParent     :=     FindWindow('Shell_TrayWnd',nil);   
      end;   这个也厉害!