Capture Screen whenever the display is updated
-
hi all, i am planning to implement a tool which can capture screen only when there is display event from Operating system (for e.g window 7) level. i have idea how to capture a screen at regular interval of time but that's not what i am planning to implement. the idea is tool will run be running in the background and it must capture the screen only when the screen is updated. i have no idea where to start. i am open for technology (c++ or c# or any other technology) i request to give me some suggestions/ideas what could be better start. Thanks Vijay.
-
hi all, i am planning to implement a tool which can capture screen only when there is display event from Operating system (for e.g window 7) level. i have idea how to capture a screen at regular interval of time but that's not what i am planning to implement. the idea is tool will run be running in the background and it must capture the screen only when the screen is updated. i have no idea where to start. i am open for technology (c++ or c# or any other technology) i request to give me some suggestions/ideas what could be better start. Thanks Vijay.
Vijjuuu. wrote:
(c++ or c# or any other technology)
0. those are not technologies, they are languages. 1.Capturing the screen is easy http://blogs.msdn.com/b/dsui_team/archive/2013/03/25/ways-to-capture-the-screen.aspx[^] http://stackoverflow.com/questions/5069104/fastest-method-of-screen-capturing[^] There are other ways, just google for "win32 api capture screen" 2. when screen is updated - this is pretty much close to impossible to find out - at least I don't know of a way to do it. The way you can do it is to simply have a timer, capture when the timer is triggered - and if you wish, compare with former screen (bitmap). 3. I'm not sure what you're trying to achieve, since there may be other ways to find out "when screen is updated" depending on your actual needs - perhaps you might be only interested in a specific window(s)? It would be a smart choice to minimize the area you're capturing, since that can indeed take a while and it's not really a good idea to to it too fast (not to mention - what if the user has a few monitors, and/or high resolution ones) 4. If you're just trying to learn programming, I suggest you take an easier task. Best, John
-- LogWizard Meet the Log Viewer that makes monitoring log files a joy!