Simple alternating images question

Dear SDL,

I need to flip between a (small) number of preprepared images but I need to change refresh without
missing any and without changing more than once per refresh.

Is there some interface in SDL so I can coordinate this?

I am currently using a hardware surface which is double buffered and using SDL_Flip() but I don’t know how to
ensure I get exactly one flip per physical refresh.

Any suggestion?


More than messages?check out the rest of the Windows Live?.