Rev 5531 | Rev 5621 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5531 | Rev 5534 | ||
---|---|---|---|
Line 218... | Line 218... | ||
218 | Draw_Window(); |
218 | Draw_Window(); |
219 | break; |
219 | break; |
Line 220... | Line 220... | ||
220 | 220 | ||
221 | case evNetwork: |
221 | case evNetwork: |
222 | if (http_transfer > 0) { |
222 | if (http_transfer > 0) { |
223 | http_process stdcall (http_transfer); |
223 | http_receive stdcall (http_transfer); |
224 | $push EAX |
224 | $push EAX |
225 | ESI = http_transfer; |
225 | ESI = http_transfer; |
226 | wv_progress_bar.max = ESI.http_msg.content_length; |
226 | wv_progress_bar.max = ESI.http_msg.content_length; |
227 | if (wv_progress_bar.value != ESI.http_msg.content_received) |
227 | if (wv_progress_bar.value != ESI.http_msg.content_received) |
Line 616... | Line 616... | ||
616 | return; |
616 | return; |
617 | } |
617 | } |
618 | if (strncmp(#URL,"http:",5)==0) |
618 | if (strncmp(#URL,"http:",5)==0) |
619 | { |
619 | { |
620 | img_draw stdcall(skin.image, address_box.left+address_box.width+1, address_box.top-2, 17, skin.h, 131, 0); |
620 | img_draw stdcall(skin.image, address_box.left+address_box.width+1, address_box.top-2, 17, skin.h, 131, 0); |
621 | http_get stdcall (#URL, #accept_language); |
621 | http_get stdcall (#URL, 0, 0, #accept_language); |
622 | http_transfer = EAX; |
622 | http_transfer = EAX; |
623 | if (http_transfer == 0) |
623 | if (http_transfer == 0) |
624 | { |
624 | { |
625 | StopLoading(); |
625 | StopLoading(); |
626 | bufsize = 0; |
626 | bufsize = 0; |