CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2008
    Posts
    90

    How can I do Screen Recording ?

    Hi All,

    Is there any MFC support for performing desktop screen recording activities
    like mouse movement, text selection etc (basically anything done on the desktop)

    Or

    Is there any other way to accomplish the task

    Regards,
    Shermil

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    894

    Re: How can I do Screen Recording ?

    Quote Originally Posted by SherTeks View Post
    Is there any MFC support for performing desktop screen recording activities
    like mouse movement, text selection etc (basically anything done on the desktop)
    Not that I know of.

    It's quite doable, you'll just have to make screenshots of the desktop every so often and isolate the part under the mouse pointer. But, why do you want to "mess with it" when there is so much software out there that can do it quite professionally.

  3. #3
    Join Date
    Apr 2008
    Posts
    90

    Re: How can I do Screen Recording ?

    why do you want to "mess with it" when there is so much software out there that can do it quite professionally
    Because I would want to have an integrated code in my application that does the screen recording of all activities done on my application

    Can you link me to some pages that provides samples of what you have said regarding implementing screen recording?

    Thanks

  4. #4
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    894

    Re: How can I do Screen Recording ?

    Well, did you think about recording it differently (not into a video file)?
    http://www.codeproject.com/KB/DLL/eventrecorder.aspx

    Otherwise, I don't think you'll find a ready sample for that. What you need to do is straightforward: you get a screenshot of the desktop once every half-second or so, and then compact it into any of the video formats: most popular are .swf and .avi, but .mov, etc. will work too. It's quite a challenge to do all that if you don't know that stuff, that is why I recommended using someone else's program for that.

  5. #5
    Join Date
    Dec 2008
    Posts
    114

    Re: How can I do Screen Recording ?

    Use journal hooks, see MSDN samples

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

Featured