[Mono-osx] Embedding and WinForms

David Suarez listasdavid at codicesoftware.com
Fri Oct 2 10:35:58 EDT 2009


You may need to specify the parent window in the call to messagebox.show

Steve Baer wrote:
> Hi guys,
> I've been experimenting with embedding mono in our OSX Cocoa based 
> application as a plug-in system. So far everything is working great 
> except for one teeny weeny little thing:)
> If my C# code calls
> System.Windows.Forms.MessageBox.Show("Hi");
>  
> a message box is displayed and my other application windows appear to 
> be in a modal state. The problem is that if I click on any other part 
> of my application the messagebox displays behind the window I just 
> clicked (it does not stay on top.)
>  
> Is there something that I need to do to keep modal windows 
> like messageboxes to stay on top?
>  
> Thanks,
> -Steve
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20091002/75b77e14/attachment.html 


More information about the Mono-osx mailing list