nimaid Posted October 16, 2009 Share Posted October 16, 2009 (edited) 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 October 16, 2009 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 More sharing options...
rliiack Posted October 16, 2009 Share Posted October 16, 2009 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 More sharing options...
nimaid Posted October 16, 2009 Author Share Posted October 16, 2009 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now