myamanda

博客园 首页 新随笔 联系 订阅 管理
可以使用API函数FlashWindow:

var
  Flash : bool;

procedure TForm1.Timer1Timer(Sender: TObject);
begin
  FlashWindow(Form1.Handle, Flash);
  FlashWindow(Application.Handle, Flash);
  Flash := not Flash;
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
Flash := False;
end;
posted on 2009-07-15 11:20  myamanda  阅读(174)  评论(0)    收藏  举报