зеркало из https://github.com/mono/mail-archives.git
92 строки
3.9 KiB
HTML
92 строки
3.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-osx] Embedding and WinForms
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Embedding%20and%20WinForms&In-Reply-To=4AC60FCE.40906%40codicesoftware.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="002529.html">
|
|
<LINK REL="Next" HREF="002531.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-osx] Embedding and WinForms</H1>
|
|
<B>Steve Baer</B>
|
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Embedding%20and%20WinForms&In-Reply-To=4AC60FCE.40906%40codicesoftware.com"
|
|
TITLE="[Mono-osx] Embedding and WinForms">steve at mcneel.com
|
|
</A><BR>
|
|
<I>Fri Oct 2 22:23:00 EDT 2009</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="002529.html">[Mono-osx] Embedding and WinForms
|
|
</A></li>
|
|
<LI>Next message: <A HREF="002531.html">[Mono-osx] General cross-platform issues and considerations
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#2530">[ date ]</a>
|
|
<a href="thread.html#2530">[ thread ]</a>
|
|
<a href="subject.html#2530">[ subject ]</a>
|
|
<a href="author.html#2530">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Hi David,
|
|
I tried creating a System.Windows.Forms.NativeWindow from the Process.CurrentProcess.MainWindowHandle but that didn't seem to make a difference. Thanks for the suggestion though.
|
|
|
|
-Steve
|
|
----- Original Message -----
|
|
From: David Suarez
|
|
To: Steve Baer
|
|
Cc: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">mono-osx at lists.ximian.com</A>
|
|
Sent: Friday, October 02, 2009 7:35 AM
|
|
Subject: Re: [Mono-osx] Embedding and WinForms
|
|
|
|
|
|
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
|
|
<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.com</A>
|
|
<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</A>
|
|
|
|
-------------- next part --------------
|
|
An HTML attachment was scrubbed...
|
|
URL: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20091002/840ee1d5/attachment-0001.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20091002/840ee1d5/attachment-0001.html</A>
|
|
</PRE>
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="002529.html">[Mono-osx] Embedding and WinForms
|
|
</A></li>
|
|
<LI>Next message: <A HREF="002531.html">[Mono-osx] General cross-platform issues and considerations
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#2530">[ date ]</a>
|
|
<a href="thread.html#2530">[ thread ]</a>
|
|
<a href="subject.html#2530">[ subject ]</a>
|
|
<a href="author.html#2530">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
|
|
mailing list</a><br>
|
|
</body></html>
|