昨天在DFW上看到一个问题,要求“使程序窗口置于最低层(在桌面上);点击“显示桌面”以后还是在桌面上”,琢磨了一下,实现了“让窗体在执行了‘显示桌面’以后仍旧显示在桌面上”,代码如下:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms;
type
TForm1 = class(TForm)
private
{ Private declarations }
procedure WndProc(var Message: TMessage); override; // 重载
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
<...[ 查看全文 ]