Hi, On Sat, 2007-07-28 at 00:38 +0300, Ivan N. Zlatev wrote: > I have been trying to parent a MWF control in a GTK Container > unsuccessfully. I have attached the result of my hackings, which > doesn't crash, but doesn't seem to show the MWF control properly. > > Anyone care to help me out figure what's wrong and how to make this > work? I really need this working in order to integrate the GSoC > WinForms designer in MonoDevelop. :(
I haven't got much experience with this kind of stuff, but at first glance it looks like your control is being created at a different thread than the one on which System.Windows.Forms.Application.Run is being invoked on. Doesn't it needed to be created in the same thread because System.Windows.Forms.Application.Run creates the message pumps only on its current thread? > > Regards. Kind Regards, Valentin S. _______________________________________________ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list