[Mono-list] Window Forms

Jonathan Pryor jonpryor@vt.edu
12 Jan 2003 16:09:57 -0500

In a word: WndProc.

In two words: WndProc and P/Invoke.

Windows.Forms exposes the window procedure (WndProc) to the programmer,
allowing them to intercept all Win32 messages (e.g. WM_PAINT, etc.).

Using a platform-agnostic toolkit would not expose WndProc, and
emulating WndProc is very difficult.

Thus, don't emulate it; just use it, in the form of Wine.

As for P/Invoke, it's reasonably probable that people will assume a full
Win32 environment and will P/Invoke out to Win32 functions, such as

If we don't use Wine, any application that does this won't run under

 - Jon

On Mon, 2003-01-13 at 15:38, hector wrote:
> I read that you are planning on using wine for the implementation of the 
> windows forms, maybe you could use a toolkit like wxwindows who is 
> mulitplatform to implement this. I don't know too much about .net, so i 
> don;t know what problem you are facing with the windows forms
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list