程式開發經驗分享
void Delay(int iMilliSeconds) { int iStart; iStart = GetTickCount(); while (GetTickCount() - iStart <= iMilliSeconds) Application->ProcessMessages(); }