Matthew,<br><br>It seems the problem is with some (perhaps incompatible) parameters to a frame%. Specifically if the style or stretchable-width parameters are removed from the following code the windows behaves as expected.<br>
<br>Kieron.<br><br>****<br> <br>#lang racket/gui<br><br>(define f<br> (new<br> frame%<br> (parent #f)<br> (label "test minimize")<br> (x 35)<br> (y 35)<br> (style '(no-resize-border))<br>
(min-width 800)<br> (min-height 600)<br> (stretchable-width #f)<br> ))<br><br>(send f show #t)<br><br><div class="gmail_quote">On Tue, Jun 19, 2012 at 7:33 AM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you provide an example? The `iconize' method of `frame%' seems to<br>
work for me on Windows, and I'm not sure what else to try.<br>
<div><div class="h5"><br>
At Mon, 18 Jun 2012 17:39:24 -0600, Kieron Hardy wrote:<br>
> Hi all,<br>
><br>
> I have a GUI with a couple of frame% windows, and I cannot minimize them.<br>
><br>
> Overriding on-activate and printing a message, shows that frame% attempts<br>
> to minimize at first (i.e. on-activate is called with activate? value #f) -<br>
> but then immediately gets re-activated (i.e. on-activate is recalled with<br>
> active? value #t) and then any further attempts just show on-activate only<br>
> called with active? value #t.<br>
><br>
> I probably doing something dumb but can't figure it out. Anyone have an<br>
> idea about what might be going on?<br>
><br>
> Cheers,<br>
><br>
> Kieron.<br>
</div></div>> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote></div><br>