Jump to content
Sign in to follow this  
Guest cxxl-t

Change Size of Progressbarwindow

Recommended Posts

Guest cxxl-t

How can I change the size of a Progressbar window.

Opt("TrayIconHide", 1)

If $CmdLine[0] = 0 Then
   MsgBox ( 48, 'Parameter fehlt!', 'SplashScreen.exe <Parameter>' & @LF & @LF & 'z.B. SplashScreen.exe "Installation von JDK"' & @LF & ' Diese Anwendung erzeugt eine Progressbar.' & @LF & ' Beenden der Anwendung mit Parameter -a.' )
Else

   If $CmdLine[1] = "-a" Then
      Run ( "cmd /c taskkill /F /IM Splash*","",@SW_HIDE)
      Exit
   EndIF

   $Parameter = $CmdLine[1]

   ProgressOn("Installation von " & $Parameter, $Parameter & " wird installiert!", "Dieser Vorgang dauert mehrere Minuten.",@DesktopWidth/2-153,@DesktopHeight/2-66,18)
   For $i = 1 to 100 step 1
      If $i >= 99 Then
         $i = 0
      EndIf

      sleep(75)
      ProgressSet( $i,)
   Next
   ProgressSet(100 ,)
   sleep(500)
   ProgressOff()
EndIf

When I deliver a long text over the commandline the text ins'n readable.

How can i resize the window to show a longer text in it?

Thanks for your help

kind regards

Stephan

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...