>>有没有办法让我的窗口始终盖不住其他程序的窗口???<br><br>有:<br><br>unit Unit1;<br><br>interface<br><br>uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;<br><br>type<br> TForm1 = class(TForm)<br> private<br> public<br> procedure SetPos(var msg: TWMWINDOWPOSCHANGED); message WM_WindowPosChanging;<br> end;<br><br>var Form1: TForm1;<br><br>implementation<br>{$R *.DFM}<br>procedure TForm1.SetPos(var msg: TWMWINDOWPOSCHANGED);<br>begin<br> msg.WindowPos.hwndInsertAfter:=1;<br>end;<br>end.<br>