Jump to content
Sign in to follow this  
Der_Andi

Show partially downloaded pictures in Pic-Control...

Recommended Posts

Der_Andi

Hi,

i wrote a little tool, that downloads about 500 pictures. (Widescreen wallpapers from interfacelift.com)

The pics are big, some of them up to or bigger than 1 MB.

I thought i can watch the progress of the download. So i created a pic-control, where the current downloading picture is updated every minute.

It looks like this:

;Mainloop
While 1
    If @InetGetActive = 0 Then
        InetGet("http://interfacelift.com/dl/wallpaper/00954_lakeofgruyere_1680x1050.jpg", @ScriptDir & "\" & "00954_lakeofgruyere_1680x1050.jpg", 1, 1)
    Else
        GuiCtrlSetImage($pic, "00954_lakeofgruyere_1680x1050.jpg")
    EndIf
WEnd

But somehow it's not working. Can't see any pictures in the pic-control.

Is this possible at all?

Edited by Der_Andi

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  

×