procedure TWelcome.Delay;
var CurrTime: TSystemTime;
Sec: Word;
begin
GetSystemTime(CurrTime);
Sec := CurrTime.wSecond + 2;//延时2秒,可更改
while Sec>CurrTime.wSecond do
GetSystemTime(CurrTime);
end;
// Create a timer to flip the pages
if TIMER_ID <> SetTimer(h_Wnd, TIMER_ID, TIMER_RATE, nil) then
begin
Result := InitFail(h_Wnd, hRet, 'SetTimer FAILED');
Exit;
end;