DirectX 8 Mouse Flicker

This is a discussion on DirectX 8 Mouse Flicker within the Windows Programming forums, part of the Platform Specific Boards category; Hi, Ive attached some code that i wrote to make a simple dx 8 window. In Full screen mode it ...

  1. #1
    Registered User (TNT)'s Avatar
    Join Date
    Aug 2001
    Location
    UK
    Posts
    339

    DirectX 8 Mouse Flicker

    Hi,

    Ive attached some code that i wrote to make a simple dx 8 window. In Full screen mode it runs fine but in a desktop window the mouse is all flickery inside the window. Is this me or the code?

    I have attached the cpp code.

    Cheers
    TNT
    Attached Files Attached Files
    TNT
    You Can Stop Me, But You Cant Stop Us All

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    it's because you're constantly repainting the window...you should probably just hide the cursor and replace it with something in your program that follows around the cursor position, then when it leaves the window unhide it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DirectX app leaving mouse trail
    By Mario F. in forum Tech Board
    Replies: 0
    Last Post: 01-01-2007, 11:10 AM
  2. Problem in mouse position
    By Arangol in forum Game Programming
    Replies: 6
    Last Post: 08-08-2006, 07:07 AM
  3. Mouse position in DirectX
    By Barjor in forum Game Programming
    Replies: 1
    Last Post: 03-09-2003, 08:13 PM
  4. mouse in DirectX
    By SuperNewbie in forum Windows Programming
    Replies: 1
    Last Post: 03-31-2002, 11:37 AM
  5. Mouse Flicker...
    By Jamazon in forum C++ Programming
    Replies: 3
    Last Post: 01-01-2002, 07:07 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21