Home All Groups Group Topic Archive Search About

How to Get the Desktop Window

Author
23 Nov 2004 5:35 PM
Josh Ross
Private Declare Auto Function GetDesktopWindow Lib "user32.dll" () As IntPtr

Author
24 Nov 2004 11:30 PM
RBischoff
Hello Josh,
Yes you are on the right track.  Here is the GetDesktopWindow function being used in a real-world app.

http://www.c-sharpcorner.com/Code/2003/Dec/ScreenCapture.asp

Best of luck!
RBischoff , your C# ally

JR> Private Declare Auto Function GetDesktopWindow Lib "user32.dll" ()
JR> As IntPtr
JR>

AddThis Social Bookmark Button