如何处理TimerMessage和线程 [英] How to Handle TimerMessage and Thread

查看:72
本文介绍了如何处理TimerMessage和线程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,我想在计时器消息和线程中处理此代码,
谁能帮我解决这个问题.


CClientDC dc(this);
for(int i = 0; i< 3; i ++)
{

int a,b,c,d;
for(a = 40,b = 50,c = 60,d = 70; a< 100,b< 120,c< 130,d< 150; a ++,b ++,c ++,d ++)
dcEllipse(a,b,c,d);
}


谢谢
Sarath

HI I want to handle this Code in Timer Message and A Thread,
Can Any one help me to Handle this.


CClientDC dc(this);
for(int i=0;i<3;i++)
{

int a,b,c,d;
for(a=40,b=50,c=60,d=70;a<100,b<120,c<130,d<150;a++,b++,c++,d++)
dcEllipse(a,b,c,d);
}


Thanks
Sarath

推荐答案

正确的
It''s right here[^].

btw, maybe this is how you want it
CClientDC dc(this);
for(int i=0;i<3;i++)
{
    for(int a=40; a<100; a++)
        dc.Ellipse(a,a+10,a+20,a+30);
}






while

a<100,b<120,c<130,d<150

会让您感到惊讶.


这篇关于如何处理TimerMessage和线程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆