External Process Question

  • Thread starter Thread starter david.sargent
  • Start date Start date
D

david.sargent

I have a C# program launching an external process, say notepad. I have
the process hidden from the user, and want to be able to take
screenshots of the hidden program. I have searched around and found
people using Printwindow() with a pointer to the application, but every
time all I get is a black window...anybody know how to do this
correctly?

Thanks

David
 
You could use the CreateDesktop API to create another desktop to run this
application on ... you could then do your print screens etc from this other
desktop (never exposing the desktop to the user)

Cheers,

Greg
 

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