Re: MoveTo / LineTo
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Sun, 19 Feb 2006 11:06:15 -0500
Are you sure that (x1,y1) != (0,0)? The code below should work.
joe
On 17 Feb 2006 14:11:00 -0800, "kathy" <yqin_99@xxxxxxxxx> wrote:
I try to draw line from, say (x1,y1) to (x2,y2).Joseph M. Newcomer [MVP]
I use:
pDC->MoveTo(x1,y1);
pDC->LineTo(x2,y2);
But I always got line (0,0) to (x1,y1), why?
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- References:
- MoveTo / LineTo
- From: kathy
- MoveTo / LineTo
- Prev by Date: Re: GPIB Synchronization and Threads
- Next by Date: Re: error LNK2005
- Previous by thread: Re: MoveTo / LineTo
- Next by thread: how to write code: multithreaded activex control using mfc
- Index(es):