Results 1 to 3 of 3

Thread: DirectX 7 – Mouse cursor.

  1. #1

    Thread Starter
    New Member ...:::Circle:::...'s Avatar
    Join Date
    Sep 2000
    Location
    Norway
    Posts
    4

    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.

  2. #2
    Fanatic Member PsychoMark's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Posts
    540
    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)

  3. #3

    Thread Starter
    New Member ...:::Circle:::...'s Avatar
    Join Date
    Sep 2000
    Location
    Norway
    Posts
    4

    Talking

    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
  •  



Click Here to Expand Forum to Full Width