If I understand you correctly and you want to draw on the desktop, basically, then this might help: http://www.neowin.net/forum/lofiversion/index.php/t293883.html [DllImport("user32.dll", CharSet=CharSet.Auto)] public static extern IntPtr FindWindow( [MarshalAs(UnmanagedType.LPTStr)] string lpClassName, [MarshalAs(UnmanagedType.LPTStr)] string lpWindowName); [DllImport("user32.dll")] public static extern IntPtr SetParent( IntPtr hWndChild, // handle to window IntPtr hWndNewParent // new parent window ); IntPtr hwndf = this.Handle; [...]
