473,385 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Form that slides up into view (MSN Style)

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
6 1412
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
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
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
"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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Michael Brennan-White | last post by:
If I submit my for using a get action the resulting page loads . If I use a post action I get an error page saying "The page cannot be found". I am calling the originating page!!! This happens...
3
by: Mike C. Fletcher | last post by:
Slides from my PyGTA presentation on Tuesday, focusing mostly on why/where you would want to use meta-classes, are available in PDF format: ...
13
by: Dan R Brown | last post by:
I have a large form that is generated dynamically in a jsp using xml / xslt. So, to break up this form into several "tabbed" sections, I break up the form using <div> tags. Each <div...
7
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: {////<<head> <title>IIBO Submit Page</title>...
5
by: M Wells | last post by:
Hi All, Is it possible to use form criteria in a query / view in an Access 2003 ADP with SQL Server as the backend? ie something like: select * from mytable where recid = forms!! I'm...
4
by: John Boy | last post by:
Hi, Can anyone help. This is really doing my nut in. 3 years ASP exp. and now doing .DOT which is a step in the wrong direction. Basically I am left with the code of a guy who has left. When I...
3
by: Woody Splawn | last post by:
I have been experimenting with Auto Slides and TreeViews and find them most usefull in Winforms. I know how to create a Treview and have it, for example, slide out from the left of my Winform but...
3
by: Athmaus | last post by:
Hello, I have this ecom page that i am making where customers can select to choose additional licenses before they purchase. I have that part working with javascript. Problem is that when the...
1
by: tomlebold | last post by:
Having problems displaying query results from combo boxes on a sub form, which is on the same form that is used to select criteria. This has always worked form me when displaying query results on...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.