Re: Drawing on DC



First, you should sit down and do the Scribble tutorial. There are a lot of issues here,
and if the circle is disappearing when you stop moving the mouse, then you have a
fundamental error in your algorithm. After doing the Scribble tutorial, it may be obvious
what has gone wrong.
joe

On Thu, 16 Nov 2006 14:41:02 -0800, MarcoMB <MarcoMB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

I would like to know how i can draw lines,circles or other object on device
context like a CAD app,making objects drawed and moved continously on screen
according to WM_MOUSEMOVE.
I tryed with InvalidateRect but when i stop moving mouse the(for example)
circle is deleted and it's not visible, and i want it's visible and static
when i stop mouse and it's refreshed when i move mouse...
how can i solve?
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: Simple question about a laser pushing a proton.
    ... The end of the laser beam can actually be moving FTL ... crossing the circle that is moving. ... and all moving at 30 m/s. ...
    (sci.physics.relativity)
  • Re: Drawing on DC
    ... I tryed with InvalidateRect but when i stop moving mouse the ... circle is deleted and it's not visible, and i want it's visible and static ... buffering and other technologies to make it faster. ...
    (microsoft.public.vc.mfc)
  • Re: Simple question about a laser pushing a proton.
    ... The end of the laser beam can actually be moving FTL ... crossing the circle that is moving. ... and all moving at 30 m/s. ...
    (sci.physics)
  • Re: Bucking -- a person could get tired of this
    ... to the start of the bucking first and foremost. ... Put him in extreme bend, ... keep his hind end moving around, and keep his feet moving on the ground in a ... Then take him out of the circle and ask again for a canter. ...
    (rec.equestrian)
  • Re: Falcon first stage finished
    ... The roll in terms of moving your finger in a big circle to ... angular rate w as the engine gimbal's angular rate. ...
    (sci.space.policy)

Loading