Jump to content

fake progress bar


nimaid
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

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