Re: Fwd: wxNet for Windows.Forms like framework

Bryan Bulten <[email protected]> Mon, 28 Feb 2005 22:35:08 -0800
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
Hello,

> I have started a new project named Fireball.Toolkit, the objective of
> this project is to create a gui framework similar to Windows.Forms, i
> have choise wxnet as my base, because i have find on it a very good
> portability and because is similar to Windows.Forms,

Sounds like a very cool project.

> But i have a question for you
> Is possible to retrevie the native pointer of the window?
> I need this for drawing with System.Drawing, is already possible to
> get the pointer?

wx.NET does not have a method for this at the moment, since it really
hasn't been necessary yet.

You would need to implement the wrapper for wxWindow::GetHandle(), which
returns the platform-specific pointer to the window (HWND on Win32,
GtkWidget on GTK, etc.).

You should be able to pass this IntPtr to System.Drawing, and go from
there.  I've never played with this, so there may be a few more details
left for you to implement :-).

The other wx.NET developers and myself are pretty limited on time these
days, but I'll do my best to answer any other questions that come up.


Cheers.

-- 
Bryan Bulten
http://www.bulten.ca/
http://wxnet.sourceforge.net/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click