惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
aimingoo的专栏
aimingoo的专栏
F
Fortinet All Blogs
Blog — PlanetScale
Blog — PlanetScale
GbyAI
GbyAI
MongoDB | Blog
MongoDB | Blog
月光博客
月光博客
The Cloudflare Blog
量子位
T
Tailwind CSS Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
MyScale Blog
MyScale Blog
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
G
Google Developers Blog
D
DataBreaches.Net
V
Visual Studio Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
U
Unit 42
博客园 - 聂微东
有赞技术团队
有赞技术团队
A
About on SuperTechFans

博客园 - gamebaby

去掉rhel 6的缺少授权证书提示 脚踏实地向前走 读xml内容 - gamebaby - 博客园 InvokeMember Invoke 项目经理应该知道的. Clear Sqlserver log 获取表信息 Email(VB.net) - gamebaby - 博客园 Email(C#) - gamebaby - 博客园 主外键 转义符 常规触发器 创建数据库 触发器 CASE 语句 事务处理 游标例子2(转载) 游标例子1(转载)
c++消息
gamebaby · 2008-07-28 · via 博客园 - gamebaby

MSG msg; 

CTime t = CTime::GetCurrentTime();
 CTime * t1 = new CTime(t.GetYear(), t.GetMonth(), t.GetDay(), t.GetHour(), t.GetMinute(), t.GetSecond()+3);
 

while(true)
 {
  t = CTime::GetCurrentTime();
  if(t>*t1)
   break;
  while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))    
  {
   t = CTime::GetCurrentTime();
   if(t>*t1)
    break;
   if (msg.message == WM_QUIT)
   {
    return -2;
   }
   DispatchMessage(&msg);
  }
 }