Jump to content

GUI hide or running as background/desktop


 Share

Recommended Posts

#NoTrayIcon
#include <ProgressConstants.au3>
#include <WindowsConstants.au3>

$hGUI = GUICreate('', 180, 100, 400, 300, $WS_POPUP, $WS_EX_TOOLWINDOW)
GUICtrlCreateLabel('Please wait 2 seconds:', 15, 10)

$PrgBar = GUICtrlCreateProgress(10, 35, 160, 25, $PBS_SMOOTH)

GUISetState()

For $i = 10 To 100 Step 10
    GUICtrlSetData($PrgBar, $i)
    Sleep(200)
Next

GUIDelete($hGUI)

? Silly but works ^^

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