DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links