<div><div class="gmail_quote">On Tue, Feb 8, 2011 at 3:47 PM, Greg Ewing <span dir="ltr">&lt;<a href="mailto:greg.ewing@canterbury.ac.nz">greg.ewing@canterbury.ac.nz</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">Mark Melvin wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
1) I was wondering if anyone has done any work to create the equivalent of a combo box or list box<br>
</blockquote>
<br></div>
Not that I know of. This seems to be a Frequently Requested Feature<br>
though, so I&#39;ll try to do something about it soon.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2) I am having trouble with Menus.  I would like to get rid of the main system menus so I have set the main application &quot;menus&quot; property to an empty list.  This works to get rid of the main menus, but when I assign a new menu list to either the application or my main window, I see the menu item, and the key bindings seem to work, but clicking on the menu does not call the method.<br>


</blockquote>
<br></div>
Hard to tell what&#39;s going on there. If you can send me an example I&#39;ll<br>
try to find out what&#39;s wrong.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 And I can&#39;t seem to figure out how to exit the application programmatically.  If I override the application&#39;s menus property, the &quot;quit_cmd&quot; doesn&#39;t seem to work anymore.<br>
</blockquote>
<br></div>
I don&#39;t know about that one either. Calling the application&#39;s quit_cmd()<br>
method directly should work regardless of the condition of the menus.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3) I am having trouble py2exe&#39;ing my application.  We a bare-bones setup.py, my resulting .exe will not run because it fails to locate GUI.Resources.  I ended up adding &quot;packages&quot; : [&quot;GUI&quot;] to my py2exe options,<br>


</blockquote>
<br></div>
Yes, you have to do that at the moment, sorry, because py2exe can&#39;t<br>
follow the dynamic way that PyGUI locates its platform-dependent<br>
modules. I&#39;m thinking about ways to improve the situation, but it&#39;s<br>
not easy.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
now when I run it I get an exception dialog from the Microsoft Visual C++ runtime saying that the application requested the Runtime to terminate in an unusual way.<br>
</blockquote>
<br></div>
Not sure what that means. Sounds like there might be a bug in pywin32<br>
or some other dll. It doesn&#39;t sound like the sort of thing you should<br>
be able to provoke by a mistake in Python coding. Can you find out<br>
anything about how far it&#39;s getting before crashing?<br>
<br>
-- <br><font color="#888888">
Greg<br>
</font></blockquote></div><br></div><div>Hi Greg,<div><br></div><div>By the way - I am on Windows XP. ;)</div><div><br></div><div>I found the answer to the py2exe problem.  It turns out the pythoncom dlls can&#39;t be bundled in the EXE.  Unbundling them works around the crash.</div>

<div><br></div><div>In terms of the menu issue - attached is a small example showing the issues I am seeing.  Notice how the mouse does not fire the menu action, but the keybinding does.  Also - how would you recommend to properly exit the application from the new File &gt; Exit menu item?</div>

<div><br></div><div>Thanks!</div><div>Mark.</div></div>