[comp.sys.mac.programmer] Cursor flicker

rick@wam.UMD.EDU (11/07/89)

I'm in need of some help with animation.  Here is the problem.  I'm writing
a simple animation program that uses an offscreen bitmap that gets drawn into
and then blasted with copybits in a window.  everything works great except that
the cursor flickers like crazy when its in the window. This is rather annoying
since the user must use the cursor in the window to interact with the program.
Is there a way to stop the flickering cursor?? the program blasts the window
with a new frame about 6 times a second.  I was thinking of syncing with the
vbl but that shouldn't help much because the cursor gets drawn before any
vbl tasks get executed, right? so if the cursor is drawn and my vbl task
blasts the window then the flicker will still occur.  there must be a solution
because i've seen other animation programs that don't flicker the cursor.
any suggestions? hints? thanx for any help you can give.

	rick@wam.umd.edu