Polaris,
You can get the windows desktop handle through the P/Invoke layer,
calling the GetDesktopWindow function.
Once you have that, you can pass the handle to the static FromHwnd
method on the Graphics class to get the graphics instance for that window.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Polaris" <et*******@hotmail.comwrote in message
news:et**************@TK2MSFTNGP02.phx.gbl...
Hi Experts:
I'd like to be able to draw image outside my application.
I know I can get a drawing surface for a form by using:
Graphics g = Form.CreateGraphics
Just wonder, if there is similar way to get an instance of Graphics of the
whole screen?
Thanks In Advance!
Polaris