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

Getting an application to be on top of other applications

P: n/a
I have an application with an icon that sits in the system tray. When I
double click it the form is maximised, but I want it to sit at the front of
all the other applications that are open. How do I do this? I suspect an API
but maybe in VB2005 there's another way.

-Jerry
Nov 6 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
MyForm.TopMost = True

"Jerry Spence1" <je**********@somewhere.comwrote in message
news:45**********************@ptn-nntp-reader02.plus.net...
>I have an application with an icon that sits in the system tray. When I
double click it the form is maximised, but I want it to sit at the front of
all the other applications that are open. How do I do this? I suspect an
API but maybe in VB2005 there's another way.

-Jerry

Nov 6 '06 #2

P: n/a
That only gets a form on the top of the other forms within the same
application. I want it to be on top of all the other applications as well -
not hidden behind Word, Excel etc.

-Jerry

"Robinson" <to******************@myinboxtoomuchtoooften.comwr ote in
message news:ei*******************@news.demon.co.uk...
MyForm.TopMost = True

"Jerry Spence1" <je**********@somewhere.comwrote in message
news:45**********************@ptn-nntp-reader02.plus.net...
>>I have an application with an icon that sits in the system tray. When I
double click it the form is maximised, but I want it to sit at the front
of all the other applications that are open. How do I do this? I suspect
an API but maybe in VB2005 there's another way.

-Jerry


Nov 6 '06 #3

P: n/a


"Jerry Spence1" <je**********@somewhere.comwrote in message
news:45**********************@ptn-nntp-reader02.plus.net...
That only gets a form on the top of the other forms within the same
application. I want it to be on top of all the other applications as
well - not hidden behind Word, Excel etc.

-Jerry

"Robinson" <to******************@myinboxtoomuchtoooften.comwr ote in
message news:ei*******************@news.demon.co.uk...
>MyForm.TopMost = True

"Jerry Spence1" <je**********@somewhere.comwrote in message
news:45**********************@ptn-nntp-reader02.plus.net...
>>>I have an application with an icon that sits in the system tray. When I
double click it the form is maximised, but I want it to sit at the front
of all the other applications that are open. How do I do this? I suspect
an API but maybe in VB2005 there's another way.

-Jerry


Last I checked, the TopMost property places the form on top of all other
non-TopMost forms, regardless of application...

HTH,
Mythran
Nov 6 '06 #4

P: n/a

Hmm - that doesn't seem to be happening. Thanks anyway and I'll check that
I'm doing things right.

-Jerry

"Mythran" <ki********@hotmail.comwrote in message
news:uk**************@TK2MSFTNGP03.phx.gbl...
>

"Jerry Spence1" <je**********@somewhere.comwrote in message
news:45**********************@ptn-nntp-reader02.plus.net...
>That only gets a form on the top of the other forms within the same
application. I want it to be on top of all the other applications as
well - not hidden behind Word, Excel etc.

-Jerry

"Robinson" <to******************@myinboxtoomuchtoooften.comwr ote in
message news:ei*******************@news.demon.co.uk...
>>MyForm.TopMost = True

"Jerry Spence1" <je**********@somewhere.comwrote in message
news:45**********************@ptn-nntp-reader02.plus.net...
I have an application with an icon that sits in the system tray. When I
double click it the form is maximised, but I want it to sit at the front
of all the other applications that are open. How do I do this? I suspect
an API but maybe in VB2005 there's another way.

-Jerry


Last I checked, the TopMost property places the form on top of all other
non-TopMost forms, regardless of application...

HTH,
Mythran


Nov 7 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.