Jump to content

AutoIt bug?


AzKay
 Share

Recommended Posts

#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>

$Form1 = GUICreate("", 302, 0, 193, 121, -1, BitOR($WS_SYSMENU,$WS_CAPTION))
GUISetState(@SW_SHOW)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

Running this in SciTE, Beta Run.

Then, after it running, I exit it via tray; and everything just starts flashing.

Basically, I have to restart the computer. I asked my friend to try it, and it does the same for him.

Does this happen for anyone else?

# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Link to comment
Share on other sites

  • Moderators
#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>

$Form1 = GUICreate("", 302, 0, 193, 121, -1, BitOR($WS_SYSMENU,$WS_CAPTION))
GUISetState(@SW_SHOW)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...