Screen Capture

  • Thread starter Thread starter Zanna
  • Start date Start date
Z

Zanna

Hi all!

A simple question: is it possible to get a screen picture?

Thanx
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top