|
-
Mar 19th, 2001, 04:35 AM
#1
Thread Starter
New Member
DirectX 7 - Mouse Cursor
Just a small DirexctX 7 question. I’m making a samll game using Direct Draw. Do someone now how to make my cursor disappear when my game is running, and make it come back when it ends.
Last edited by ...:::Circle:::...; Mar 19th, 2001 at 04:58 AM.
...:::Circle:::... You will always come back to the start.
-
Mar 19th, 2001, 05:58 AM
#2
Fanatic Member
If you want to use the mouse in your game too, I suggest taking a look at DirectInput (since that automatically hides the cursor so you can draw you own). If you don't want to use the mouse and just want to hide it, look up the ShowCursor API call (sorry, I don't have the API Viewer right now).
You can call ShowCursor(0) to hide it and ShowCursor(1) to show it again after you program has finished.
If you need more help, post a reply and I'll check it when I'm at home again...
Good luck!
Teaudirenopossum.Musasapientumfixaestinaure.
(I can't hear you. There's a banana in my ear)
-
Mar 20th, 2001, 08:21 AM
#3
Thread Starter
New Member
Thank you. You made my day.
...:::Circle:::... You will always come back to the start.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|