星期四, 8月 30, 2007

讓你的Form慢慢展開顯示,慢慢隱形消失

只要在Form的onShow事件加入

AnimateWindow(handle,500,AW_Center);

只要在Form的onShow事件加入

AnimateWindow(handle,500,AW_BLEND or AW_ACTIVATE);


並在Form的OnCloseQuery事件加入

AnimateWindow(handle,500,AW_Center or AW_Hide or AW_BLEND);

沒有留言:

張貼留言