|
-
Jun 25th, 2000, 03:28 PM
#1
Thread Starter
Lively Member
You know that little moving iconm in your browsers top corner? Well i'm wondering, how would I put one of those in a browser i'm making?
Timbudtwo
I have no life, only one with computers.
VB 6.0 Enterprise Edition
[hr]
-
Jun 25th, 2000, 07:46 PM
#2
Addicted Member
use any animated GIF OCX, or just make it your self, add a timer and a picture box, and then change the picture every 0.5 or 1 second, it is not that hard
-
Jun 25th, 2000, 07:54 PM
#3
Frenzied Member
IE and Netscape both use a bitmap for that moving icon
you can reproduce that in VB by using the BitBlt API
-
Jun 25th, 2000, 08:15 PM
#4
PaintPicture will also do the trick.
-
Jun 25th, 2000, 09:43 PM
#5
yeah, you should use paint picture, there is really no need for bitblt, as this doesnt require that much speed.
-
Jun 25th, 2000, 10:26 PM
#6
transcendental analytic
What? How can you say that? "doesn't require that much speed"!
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 26th, 2000, 01:11 AM
#7
Thread Starter
Lively Member
how...
I am talking about it will move when the page is loading and stop when it's loaded.
Timbudtwo
I have no life, only one with computers.
VB 6.0 Enterprise Edition
[hr]
-
Jun 26th, 2000, 02:50 AM
#8
Code:
Private Sub Command1_Click()
Webbrowser1.Stop
Timer1.enabled = False 'timer holds your animated gif events
End Sub
Private Sub WebBrowser1_DownloadBegin()
Timer1.enabled = True
label1.caption = "Downloading..."
End Sub
Private Sub WebBrowser1_NavigateComplete2(ByVal pDisp As Object, URL As Variant)
Timer1.enabled = False
Me.caption = webbrowser1.locationName & " - TimbudTwo's Webbrowser"
Label1.caption = webbrowser1.LocationURL
Something like that?
And Mih_Flyer, wouldn't a timeout .5 or .1 make it look like it was changing from pic to pic? It wouldn't give it an easy switching and moving picture. It'd be like Flash...Flash, Not FlashFlash...hope you get what I mean.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|