Sign in to follow this  
Followers 0
therks

Minimize Bug (v3.0.103)

4 posts in this topic

Haven't seen this brought up yet, so I figured maybe it should be brought to attention (and my apologies if it already has).

Here's the script I have:

------------------------------------------------

#include <GUIConstants.au3>

GUICreate("Gui Test", 300, 100);

GuiCtrlCreateCombo('', 10, 10);

GUiCtrlSetData(-1,"item1|item2|item3","item3");

$stat = GuiCtrlCreateLabel('', 0, 100-18, 300, 18, $SS_SUNKEN+$SS_NOPREFIX);

GuiSetState();

While 1

$msg = GuiGetMsg();

If $msg <> 0 Then GuiCtrlSetData($stat, $msg);

If $msg = $GUI_EVENT_CLOSE Then ExitLoop;

WEnd

GUIDelete();

------------------------------------------------

And here's the problem: If I run the script as-is, and use the minimize button, or use the system menu (alt-space, or clicking on the window icon) and choose minimize, then AutoIt crashes.

But! If I comment out the blue text, removing the combo box, it minimizes fine.

But! If I comment out both the blue and red text, removing all GUI controls, then it has the same problems minimizing.

Has this been addressed? Is it being looked into? Anybody know any workarounds?

Thanks for reading.

Rob.

Share this post


Link to post
Share on other sites



Fixed.

<{POST_SNAPBACK}>

Woot, right on! Thanks a bunch.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0