Screen Capture

  • Thread starter Thread starter Zanna
  • Start date Start date
I'm not aware of any way to do this from .NET CF, other than by calling a
DLL to do it. I can give you the API-based way to do it...

Paul T.
 
Paul said:
I'm not aware of any way to do this from .NET CF, other than by calling a
DLL to do it. I can give you the API-based way to do it...

Well, i'll thank you :)
 
The basic steps are:

1. Create a device context for the "Display" device.
2. Create a compatible device context to this screen DC.
3. Create a compatible bitmap for the screen DC.
4. Select the bitmap into the DC from #2.
5. Do a BitBlt from the screen device context to the DC from #2.
6. Figure out what palette to use and attach that to the bitmap.

Remember that, if you just want the bitmap on your desktop PC, you can use
the RemoteFileViewer to get the current screen contents...

Paul T.
 
Back
Top