您的位置:首页 > 其它

制作动态效果的Form

2006-08-28 14:36 267 查看
procedure TForm3.FormShow(Sender: TObject);
begin
  AnimateWindow(handle,250,AW_Center);
     // AW_BLEND , AW_Center
     // AW_VER_POSITIVE , AW_HOR_POSITIVE
     // AW_HOR_NEGATIVE , AW_VER_NEGATIVE

    //only Win2000,Win XP support AW_Blend value (alpha blend effect)
end;
 

procedure TForm3.FormCloseQuery(Sender: TObject; var CanClose: Boolean);
begin
  AnimateWindow(handle,250,AW_Center or AW_Hide or AW_BLEND);
end;

// 取自LYSoft:  http://lysoft.lz169.com
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  blend xp