Sign in to follow this  
Followers 0
Marlo

Scrolling Control Panel

5 posts in this topic

Hello people! I am currently in the process of designing a script that downloads multiple files all at once but i've hit a snag.

I want to make a GUI that has a vertical scrollbar that when moved will reveal / hide the progress bars. (alot like the firefox download window)

But i cant see anything in Autoit that will allow me to do this.

Is this even possible?


Click here for the best AutoIt help possible.Currently Working on: Autoit RAT

Share this post


Link to post
Share on other sites



Hello people! I am currently in the process of designing a script that downloads multiple files all at once but i've hit a snag.

I want to make a GUI that has a vertical scrollbar that when moved will reveal / hide the progress bars. (alot like the firefox download window)

But i cant see anything in Autoit that will allow me to do this.

Is this even possible?

Maybe not exactly what you are after, but try something like this:

#include <GUIConstants.au3>
#Include <GuiListView.au3>

Opt("GUIOnEventMode", 1)

$Form1 = GUICreate("Form1", 307, 150, 295, 212)
GUISetOnEvent($GUI_EVENT_CLOSE,"close")
$ListView1 = GUICtrlCreateListView("File|Download Progress", 8, 8, 289, 130)
_GUICtrlListView_SetColumnWidth($ListView1,0,100)
_GUICtrlListView_SetColumnWidth($ListView1,1,169)

GUICtrlCreateListViewItem("Sony RootKit.exe|*",$ListView1)
GUICtrlCreateListViewItem("FunnyVid.avi|*",$ListView1)
GUICtrlCreateListViewItem("AutoIt Beta.zip|*",$ListView1)
GUICtrlCreateListViewItem("etc|*",$ListView1)
GUICtrlCreateListViewItem("etc|*",$ListView1)
GUICtrlCreateListViewItem("etc|*",$ListView1)
GUICtrlCreateListViewItem("etc|*",$ListView1)
GUICtrlCreateListViewItem("etc|*",$ListView1)
GUICtrlCreateListViewItem("etc|*",$ListView1)

$progress = "*"

GUISetState(@SW_SHOW)
While 1
    Sleep(1000)
    
    For $i = 0 to 9
        _GUICtrlListView_SetItemText($ListView1,$i,$progress,1)
    Next

    $progress &= "*"
    
WEnd


Func close()
    Exit
EndFunc

- Table UDF - create simple data tables - Line Graph UDF GDI+ - quickly create simple line graphs with x and y axes (uses GDI+ with double buffer) - Line Graph UDF - quickly create simple line graphs with x and y axes (uses AI native graphic control) - Barcode Generator Code 128 B C - Create the 1/0 code for barcodes. - WebCam as BarCode Reader - use your webcam to read barcodes - Stereograms!!! - make your own stereograms in AutoIT - Ziggurat Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Box-Muller Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Elastic Radio Buttons - faux-gravity effects in AutoIT (from javascript)- Morse Code Generator - Generate morse code by tapping your spacebar!

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Take a look at my scrollbar UDF in my signature.

Wow, superb! Yup, I'd do it with Kip's UDF if I were you!

see below...

lol

Edited by andybiochem

- Table UDF - create simple data tables - Line Graph UDF GDI+ - quickly create simple line graphs with x and y axes (uses GDI+ with double buffer) - Line Graph UDF - quickly create simple line graphs with x and y axes (uses AI native graphic control) - Barcode Generator Code 128 B C - Create the 1/0 code for barcodes. - WebCam as BarCode Reader - use your webcam to read barcodes - Stereograms!!! - make your own stereograms in AutoIT - Ziggurat Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Box-Muller Gaussian Distribution RNG - generate random numbers based on normal/gaussian distribution - Elastic Radio Buttons - faux-gravity effects in AutoIT (from javascript)- Morse Code Generator - Generate morse code by tapping your spacebar!

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  
Followers 0