PDA

View Full Version : OT: Native cursors and OpenGL



elias
05-14-2003, 07:35 AM
On windows, I use OpenGL for rendering and DirectInput for mouse and keyboard input. However, after seeing how smooth the cursor movement is in C&C Generals and Neverwinter Nights, I would like to knwo what can be done to use the native cursor under windows (I have no problems with it under linux).

But I'm confused by the MSDN DirectInput docs that state that the cursor cannot be reliably displayed when the mouse is captured in exclusive mode. So how does C&C Generals do it? Simply don't use exclusive mode or what?

- elias