Form that slides up into view (MSN Style)

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

Hi,

Is is possible to display a form that slides up from the system tray like
that of MSN Messenger?
I have tried the AnimateWindow API and the various flags (blend, roll
horizontal, roll vertical) work but the slide flag doesn't, it just displays
the form as normal/instantaneously. I tried the same API in VB6 and got the
same results.

The controls on the form need to be drawn first before the slide starts, in
other words I don't want the slide to occur and stop then the controls are
drawn.


Any ideas?
Cheers,
Paul
 
Hi Paul,

MS has a series of controls that do exactly what you need. Look up vbpower
pack for vb 2003 on google.

HTH,

Bernie Yaeger
 
Thanks for the info.

I've tried the pack and although it contains exactly what I need, I can't
figure out how to display multiple instances of the the NotificationWindow.

At the moment, the way I've coded my app is that a form can have multiple
instances using this code...

Dim frmForm1 As Form1
frmForm1 = New Form1
frmForm1.Show()


So for example, if I press a command button once, the form is displayed,
further clicking of the button displays new instances of the form. This is
what I cannot seem to accomplish with the NotificationWindow in the pack.

Does anyone know if this is possible?
Cheers,
Paul
 
Nevermind, i got it now.

Paul said:
Thanks for the info.

I've tried the pack and although it contains exactly what I need, I can't
figure out how to display multiple instances of the the
NotificationWindow.

At the moment, the way I've coded my app is that a form can have multiple
instances using this code...

Dim frmForm1 As Form1
frmForm1 = New Form1
frmForm1.Show()


So for example, if I press a command button once, the form is displayed,
further clicking of the button displays new instances of the form. This
is what I cannot seem to accomplish with the NotificationWindow in the
pack.

Does anyone know if this is possible?
Cheers,
Paul
 
Paul said:
Is is possible to display a form that slides up from the system tray like
that of MSN Messenger?
I have tried the AnimateWindow API and the various flags (blend, roll
horizontal, roll vertical) work but the slide flag doesn't, it just
displays the form as normal/instantaneously. I tried the same API in VB6
and got the same results.

Your declares/API code might be faulty. Could you post it?
 
Its ok, i decided to use the NotificationWindow class which is part of the
VBPowerPack. It does a fine job.
Cheers,
Paul
 
Its ok, i decided to use the NotificationWindow class which is part of the
VBPowerPack. It does a fine job.
Cheers,
Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top