[Mono-osx] What about MonoMac is incompatible with WinForms?

Stifu stifu at free.fr
Fri Aug 27 16:46:46 EDT 2010

I'm not knowledgeable enough to help, but I still wanted to drop in only to
state that I'm very interested in a Cocoa implementation of WinForms. I just
wanted to encourage Lee to keep on working toward that goal.
Killing two birds with one stone: getting rid of the buggy Carbon version,
and getting a new, robust implementation based on the newest Mac GUI
toolkit. :)

Moving to MonoMac seems like a logical move to me.
As for what Geoff said, I understood it this way: "The current Mac WinForms
driver doesn't work alongside MonoMac, so don't use both", not "It's not
possible to make a WinForms driver using MonoMac".

Duane Wandless wrote:
> Lee - I would suggest creating a simple WinForm app to test.  You do have
> to
> call NSApplication.Init().  You may not need to call NSApplication.Main.
>  I'm not positive about that.
> The other suggestion would be not to use WInForms in your Mac app.  You
> will
> have a much better user experience if you use Interface Builder to build
> your Mac UI.  Yes it is almost doubling the work on the UI but at least to
> me the result is well worth the extra work.
> Duane
> On Fri, Aug 27, 2010 at 3:06 PM, Lee V. Andrus <landrus2 at by-rite.net>
> wrote:
>> Geoff North has commented "monomac is not compatible with winforms." (
>> http://mono.1490590.n4.nabble.com/forum/PostLink.jtp?post=2315043&cid=1282782305467-769
>> ).  But why.  Is it the lack of calls to NSApplication.Init() and
>> NSApplication.Main() mentioned later in that thread?  Or does the use
>> of Cocoa interfere with the Carbon Driver receiving Carbon Events?
>> I ask because I am working on a Cocoa Driver for WinForms.  I
>> currently use the MCocoa/MObjc bridge.  I have been considering
>> switching to MonoMac because it has more official support and probably
>> would be more acceptable as a dependency of WinForms.  But a
>> fundamental incompatibility would ruin that move--and probably the
>> whole idea.
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-osx
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx

View this message in context: http://mono.1490590.n4.nabble.com/What-about-MonoMac-is-incompatible-with-WinForms-tp2341515p2341610.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list