How shall i do this in vb6 ?

can anyone write a code or  find me a code like yahoo messenger & msn messenger shows when someone come online . a window comes up from taskbar and goes after a certain interval ?
LVL 2
BILAL69Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Mike TomlinsonConnect With a Mentor Middle School Assistant TeacherCommented:
0
 
BILAL69Author Commented:
thats quite good but isnt it possible like yahoo and msn.. like if one form is open and another message comes again then it goes again on top somethign like this :-?
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
I don't have VB6 on my machines anymore so I can't code up anything concrete for you...

...do you want the new message to replace the existing one?...or should they stack?  (I don't use messaging systems)

You can create multiple instances of Form2:
 
    Dim f2 As New Form2

Then move the Timer code into Form2 itself...  (instead of driving Form2 from within Form1)
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
BILAL69Author Commented:
thats ok but it keeps coming on the same place.. all the forms
0
 
Mike TomlinsonConnect With a Mentor Middle School Assistant TeacherCommented:
Add a variable in a Module to keep track of the number of OPEN popups and use that to adjust the position of the current popup form...
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
hmmm.

you should start here by posting the relevant code you have.
idle_mind tried to give the good method, but what is the problem you have, now?
0
 
BILAL69Author Commented:
Actually that code is good but it shows only 1 form at a time next what i want is  It pop ups multiple forums on the top of the previous opened pop up
0
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
please post the code you have.

it will need what idle_mind indicated:
>Add a variable in a Module to keep track of the number of OPEN popups and use that to adjust the position of the current popup form...

means: keep a open_popup_counter.
if top of the first form is "height of screen" - "height of form", it is actually generalized into

top of the nth form is "height of screen" - ( n * "height of form")

0
All Courses

From novice to tech pro — start learning today.