Advertisement

mouse handling

Started by August 04, 2000 09:34 PM
0 comments, last by pap 24 years, 4 months ago
After almost 4 month of programming and almost finished my game engine, I''ve just realize that it gonna need a routine to handle a mouse, does anybody knows any doc about how to handle the mouse with DX, you the kind like in Windows tha you can grab a icon and move it around and the drop it. Thanks in advance: _Pap
If by DX you mean DirectX, then handling a mouse is quite simple... use DirectInput. Very easy. You might have to write your own stuff for drag-and-drop things, though, if you use DirectInput (I''m not familiar with any DirectInput interface for drag and drop, though it might be there if you look hard enough).

You could also just use the Windows GDI... there might be some freaky MFC stuff for it too...

Hope that''s of any use to you.

- Goblin
"A woodchuck would chuck as much wood as a woodchuck could if a woodchuck could chuck wood. Deal."
- The Goblin (madgob@aol.com)

This topic is closed to new replies.

Advertisement