Jump to content

Flash on gui or something like that


Recommended Posts

Hi, i wanted to do something but i don't actually know how to explain that ...
I am collecting many things from some .ini file to be loaded in list views but what i want to do while the script is collecting these information from the ini files i want to make something like a flash or a shadow on the gui and after it finishes the gui backs to normal ... do you understand what i mean ?

Edited by LerN
Link to comment
Share on other sites

  • Moderators

What about just setting the window transparency?

#include <GUIConstantsEx.au3>

    $hGUI = GUICreate("Test", 200, 100)
    $btnGo = GUICtrlCreateButton("GO", 10, 50, 40, 40)
    $btnStop = GUICtrlCreateButton("Stop", 150, 50, 40, 40)

        GUISetState(@SW_SHOW)

    While 1
        Switch GUIGetMsg()
            Case $GUI_EVENT_CLOSE
                Exit
            Case $btnGo
                WinSetTrans($hGUI, "", 100)
            Case $btnStop
                WinSetTrans($hGUI, "", 255)
        EndSwitch
    WEnd

If you're looking to also disable input to the GUI during this time look at GUISetState.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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...