Feb 2010 09:01:49 -0500
Subject: Re: [Mono-winforms-list] Graphics.FromHwnd(IntPtr.Zero) not working
Hello,
It's been a while since I looked at Windows.Forms issues, but I don't
think you can acquire a desktop graphics context on Linux (what windows does
when you pass IntPtr.Zero
e the Draw methods for drawing
> inside it ??
> Thanks again.
> Stefano
>
>
>
>
> -Original Message-
> From: Carlos Alberto Cortez
> To: Stefano Del Furia
> Cc: mono-winforms-list@lists.ximian.com
> Date: Tue, 9 Feb 2010 23:24:23 +0100
> Subject: Re: [Mono-winfo
awing
inside it ??
Thanks again.
Stefano
-Original Message-
From: Carlos Alberto Cortez
To: Stefano Del Furia
Cc: mono-winforms-list@lists.ximian.com
Date: Tue, 9 Feb 2010 23:24:23 +0100
Subject: Re: [Mono-winforms-list] Graphics.FromHwnd(IntPtr.Zero) not working
Hello,
This meth
Hello,
This method is defined basically to retrieve available information in the
Graphics instance, not to do actual draw work on the screen (this could be
accomplished by a different way, but it would be system specific, as nothing
like that appears in the winforms api).
Carlos.
2010/2/7 Stefan
Hi,
i'm using Graphics.FromHwnd(IntPtr.Zero) for drawing directly on screen but
under Ubuntu 9.04 it don't work.
The method don't return a null value but when i try to draw some object like
a a line nothing happened like in this way:
Graphics g = Graphics.FromHwnd(IntPtr.Zero);