clipping problem with rapid MoveWindow calls
Posted on 1998-08-25
In a window derived from CView I am doing some animation. When I do fast repeated calls to MoveWindow for an image which is supposed to fly around the screen, the image disappears partway through the movement. It acts like it is getting clipped. Even when I only have one image in the view, it still won't go around in a circle for example without getting clipped. The clipping does not happen on the first move, but once it starts the image does not appear again until it stops moving. At this point the view gets invalidated so that brings it back.
While I am not writing a game, the animation probably uses some of the same techniques. Do I need to handle the movement differently?