By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,578 Members | 1,617 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,578 IT Pros & Developers. It's quick & easy.

Form that slides up into view (MSN Style)

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
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

"Paul" <pr*****@private.com> wrote in message
news:SM********************@pipex.net...
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

Nov 21 '05 #2

P: n/a
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

"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:up**************@TK2MSFTNGP12.phx.gbl...
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

"Paul" <pr*****@private.com> wrote in message
news:SM********************@pipex.net...
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


Nov 21 '05 #3

P: n/a
Nevermind, i got it now.

"Paul" <pr*****@private.com> wrote in message
news:Zr********************@pipex.net...
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

"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:up**************@TK2MSFTNGP12.phx.gbl...
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

"Paul" <pr*****@private.com> wrote in message
news:SM********************@pipex.net...
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



Nov 21 '05 #4

P: n/a
"Paul" <pr*****@private.com> schrieb:
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?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #5

P: n/a
Its ok, i decided to use the NotificationWindow class which is part of the
VBPowerPack. It does a fine job.
Cheers,
Paul
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:Ou*************@TK2MSFTNGP10.phx.gbl...
"Paul" <pr*****@private.com> schrieb:
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?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #6

P: n/a
Its ok, i decided to use the NotificationWindow class which is part of the
VBPowerPack. It does a fine job.
Cheers,
Paul
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:Ou*************@TK2MSFTNGP10.phx.gbl...
"Paul" <pr*****@private.com> schrieb:
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?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


Nov 21 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.