Flickering Mouse Cursor

My Mouse Cursor flickers in My OpenGL program. I have tried to stop calling SwapBuffers and the flickering gone (with my frame rate).
What is the problem? I have never encounter this problem before (I used MFC and now I am using windows’ API).

So it worked under MFC and does not under plain Windows API?
You don’t call any cursor functions(SetCursor, ShowCursor, etc.), do you?

Check if you have a software cursor installed. Switch to “Windows Default (system scheme)” and if under Windows 2000 disable the pointer shadow.