<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY style="COLOR: #000000; FONT-FAMILY: Arial" bgColor=#ffffff>
<DIV><FONT size=2>Just guessing:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I think you probably need to start up a "main
window"</FONT></DIV>
<DIV><FONT size=2>before you do a modal dialog in order to get
background</FONT></DIV>
<DIV><FONT size=2>threads that handle GUI events started.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>But I'm way out of my areas of expertise here.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> -- Aaron Watters</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=j_lorentsen@hotmail.com
href="mailto:j_lorentsen@hotmail.com">Jill-Connie Lorentsen</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=pythondotnet@python.org
href="mailto:pythondotnet@python.org">pythondotnet@python.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, March 11, 2004 9:16
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Python.NET] Showing modal .NET
dialogs from Python</DIV>
<DIV><BR></DIV>
<BLOCKQUOTE id=0>
<DIV><FONT size=2>I am new to this, so please excuse me if I'm not making
myself 100% clear.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>My colleague is writing a modal dialog using .NET. I want
to show it from Python, but I can't figure out how. </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I guess it'll be something like:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>import CLR</FONT></DIV>
<DIV><FONT size=2>import CLR.System.Windows.Forms as MyForm</FONT></DIV>
<DIV><FONT size=2>from MyColleaguesFile import MyColleaguesForm</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>MyForm = MyColleaguesForm</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>MyForm.Show()</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I've looked at the helloform, splitter and wordwin
examples, the mailinglist archive etc, but I feel like I'm missing
something. Is it even possible to do what I want to do?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Jill</FONT></DIV></BLOCKQUOTE>
<P></P>
<P>
<HR>
<P></P>_________________________________________________<BR>Python.NET mailing
list -
PythonDotNet@python.org<BR>http://mail.python.org/mailman/listinfo/pythondotnet</BLOCKQUOTE></BODY></HTML>