Jump to content
Sign in to follow this  
nimaid

fake progress bar

Recommended Posts

nimaid

how can i make a pop-up that has that has a title "title" has text "text" has a progress bar labeled "progress" the X in the corner not working, and a cancel button that doe not work, and once the bar fills up, it closes.

Edited by nimaid

This statement is a lie.˙uʍop-ǝpısdn sı ǝuo sıɥʇ ʇnq 'ǝıl ɐ ǝq ʎɐɯ ʇuǝɯǝʇɐʇs snoıʌǝɹd ǝɥʇ¡6u15nɟu0) ʎ||43ɹ 51 51ɥ7

Share this post


Link to post
Share on other sites
rliiack

Here you go.

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <GUIConstants.au3>
Global $gui, $ProgressBar, $iProgress, $background, $pic, $basti_stay
  Global $msg=1
  $gui = GUICreate("Background", 1000, 500, -1, -1)
  $ProgressBar = GUICtrlCreateProgress(64,56,729,81)
  $iProgress=1 ;Progress Percentage
  GUICtrlSetLimit ( $ProgressBar, 100, 0)
  $cancel = GUICtrlCreateButton("Cancel",64,250,50,30)
  GUISetState(@SW_SHOW)

  Do
  GUICtrlSetData($ProgressBar,$iProgress)
  $iProgress+=1
  Sleep(200)
  Until $iProgress = 100

You can add the labels


My Projects:Smart Icons

Share this post


Link to post
Share on other sites
nimaid

Here you go.

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <GUIConstants.au3>
Global $gui, $ProgressBar, $iProgress, $background, $pic, $basti_stay
  Global $msg=1
  $gui = GUICreate("Background", 1000, 500, -1, -1)
  $ProgressBar = GUICtrlCreateProgress(64,56,729,81)
  $iProgress=1 ;Progress Percentage
  GUICtrlSetLimit ( $ProgressBar, 100, 0)
  $cancel = GUICtrlCreateButton("Cancel",64,250,50,30)
  GUISetState(@SW_SHOW)

  Do
  GUICtrlSetData($ProgressBar,$iProgress)
  $iProgress+=1
  Sleep(200)
  Until $iProgress = 100

You can add the labels

lol thanks!

This statement is a lie.˙uʍop-ǝpısdn sı ǝuo sıɥʇ ʇnq 'ǝıl ɐ ǝq ʎɐɯ ʇuǝɯǝʇɐʇs snoıʌǝɹd ǝɥʇ¡6u15nɟu0) ʎ||43ɹ 51 51ɥ7

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.