Capturing the mouse


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Capturing the mouse

  1. #1
    Jacques Levy Guest

    Capturing the mouse

    I'm writting an screen capture program and I found that the mouse cursor is
    not included in the bitmaps captured by my program. I tried with printscreen
    I got the same results. Does any body knows how to do this?



  2. #2
    Mike D Sutton Guest

    Re: Capturing the mouse

    > I'm writting an screen capture program and I found that the mouse cursor
    is
    > not included in the bitmaps captured by my program. I tried with

    printscreen
    > I got the same results. Does any body knows how to do this?


    As far as I know the only way to grab the mouse pointer too is to draw it on
    the image yourself. Just capture the mouse coords with GetCursorPos() and
    draw the cursor image at those coords on the captured image.
    Hope this helps,

    Mike


    -- EDais --

    WWW: Http://Members.xoom.com/EDais/
    Work E-Mail: EDais@btclick.com
    Other E-Mail: Mike.Sutton@btclick.com



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center