Home All Groups Group Topic Archive Search About

Form that slides up into view (MSN Style)

Author
25 Mar 2005 6:12 PM
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

Author
25 Mar 2005 6:36 PM
Bernie Yaeger
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

Show quoteHide quote
"Paul" <priv***@private.com> wrote in message
news:SMadnaJ4eZ39ydnfRVnyiA@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
>
Author
25 Mar 2005 7:21 PM
Paul
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



Show quoteHide quote
"Bernie Yaeger" <bern***@cherwellinc.com> wrote in message
news:upAcMmWMFHA.1172@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" <priv***@private.com> wrote in message
> news:SMadnaJ4eZ39ydnfRVnyiA@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
>>
>
>
Author
25 Mar 2005 8:08 PM
Paul
Nevermind,  i got it now.

Show quoteHide quote
"Paul" <priv***@private.com> wrote in message
news:Zr2dneqaLr33-dnfRVnygg@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" <bern***@cherwellinc.com> wrote in message
> news:upAcMmWMFHA.1172@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" <priv***@private.com> wrote in message
>> news:SMadnaJ4eZ39ydnfRVnyiA@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
>>>
>>
>>
>
>
Author
25 Mar 2005 8:55 PM
Herfried K. Wagner [MVP]
"Paul" <priv***@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/>
Author
27 Mar 2005 4:44 AM
Paul
Its ok, i decided to use the NotificationWindow class which is part of the
VBPowerPack. It does a fine job.
Cheers,
Paul


Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:OuX6vyXMFHA.688@TK2MSFTNGP10.phx.gbl...
> "Paul" <priv***@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/>
Author
27 Mar 2005 4:44 AM
Paul
Its ok, i decided to use the NotificationWindow class which is part of the
VBPowerPack. It does a fine job.
Cheers,
Paul


Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:OuX6vyXMFHA.688@TK2MSFTNGP10.phx.gbl...
> "Paul" <priv***@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/>