Click here to Skip to main content
15,897,090 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

1 solution

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
will surprise you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900