Jump to content
LerN

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

Share this post


Link to post
Share on other sites

Something like that when loading ... :


q9ROkMn.png

and when done :


EZYW6Un.png

Edited by LerN

Share this post


Link to post
Share on other sites

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.

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

×
×
  • Create New...