recording screens on PocketPc's
-
Hello, Can anybody explain me here how i can make periodically every five seconds screen shots on the Pocket Pc? - Means that automatically every five seconds should be made a screen shot of the display of the PocketPc and should be saved. Respectively is it possible that a screen shot of the display of the PocketPc is made when any event on the PocketPc occurs? Thanks in Advance. Regards. Patrick
-
Hello, Can anybody explain me here how i can make periodically every five seconds screen shots on the Pocket Pc? - Means that automatically every five seconds should be made a screen shot of the display of the PocketPc and should be saved. Respectively is it possible that a screen shot of the display of the PocketPc is made when any event on the PocketPc occurs? Thanks in Advance. Regards. Patrick
You do this the same way you would in Windows, with calls to
GetWindowDC
andBitBlt
to copy the source bitmap to a compatible desination bitmap. If you're doing this in .NET (you are in the C# forum after all), you have to P/Invoke these calls. Read the article Capturing the Screen Image in C#[^] but keep in mind that not all managed and unmanaged APIs are available on the Windows CE platform (on which Pocket PC is built). More APIs are available in Windows CE .NET 4.x than in Windows CE 3.x and below, but both should have enough to get the job done (basic GDI APIs). As for the timer, theSystem.Threading.Timer
class is the only timer class supported by .NET CF. See the .NET Framework SDK documentation for more details, or write your own timer. It's fairly straight-forward to use and I have discussed it in regard to .NET CF before, so you can also click "Search comments" above this message board and search for that thread. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles] -
Hello, Can anybody explain me here how i can make periodically every five seconds screen shots on the Pocket Pc? - Means that automatically every five seconds should be made a screen shot of the display of the PocketPc and should be saved. Respectively is it possible that a screen shot of the display of the PocketPc is made when any event on the PocketPc occurs? Thanks in Advance. Regards. Patrick
Keep in mind though that you don't have GB's of storage available. (unless you have a 2 GB CF card)
-
Keep in mind though that you don't have GB's of storage available. (unless you have a 2 GB CF card)
-
Keep in mind though that you don't have GB's of storage available. (unless you have a 2 GB CF card)