Furrage
01-09-2001, 07:05 AM
I creates an OpenGL window but when I move the mouse over it I get an annoying flicker. Is there any way to get rid of this?
The window is done in MS VC++ 6 by creating a win32 app then linking in MFC (See tutorial at http://devcentral.iftech.com/learning/tutorials/mfc-win32/opengl/). I have expanded on the code and am using it as a child window. Its double buffered and refreshed continuously (hence I suspect the flicker).
I tried using SetCursor to hide the mouse and draw it myself with opengl. However, I can't get a fast enough refresh rate to make the mouse respond smoothly.
Does anyone have any solutions?
The window is done in MS VC++ 6 by creating a win32 app then linking in MFC (See tutorial at http://devcentral.iftech.com/learning/tutorials/mfc-win32/opengl/). I have expanded on the code and am using it as a child window. Its double buffered and refreshed continuously (hence I suspect the flicker).
I tried using SetCursor to hide the mouse and draw it myself with opengl. However, I can't get a fast enough refresh rate to make the mouse respond smoothly.
Does anyone have any solutions?