OnTimer不是多线程。 OnTimer是以SendMessage的方式发送消息到消息队列。 sendMessage必须等待对话框响应完消息后才返回。 转载于:https://www.cnblogs.com/mycway/p/4439623.html