Home All Groups Group Topic Archive Search About

Show form without obtaining focus

Author
14 Dec 2006 4:39 PM
Mike Kansky
I have an Outlook alerts type application.
When an alert is displayed (it is a form that is showed above system tray)
it gets the focus and if the user was in a middle of something, i.e. writing
word document, it will take the focus and will interrupt whatever the user
was doing.

Is there any way to display the form without stealing focus, but still show
it on top of other application currently running on the user's computer?

Author
2 Jan 2007 5:32 PM
sstory
two ideas:

1.)
Set the form to "Always on Top"
Google with that phrase and you will find out how.  If this is .NET I think
forms have a setting for this to avoid needing a DECLARE statement or
equivalent.

2.) You could always use the Systry popup balloon messages in XP.  They
don't steal the focus.  WARNING: They can get irratating to users.


Show quoteHide quote
"Mike Kansky" <MikeKan***@discussions.microsoft.com> wrote in message
news:E62EFE43-D517-4D3B-A9BB-50CC3C32941A@microsoft.com...
>I have an Outlook alerts type application.
> When an alert is displayed (it is a form that is showed above system tray)
> it gets the focus and if the user was in a middle of something, i.e.
> writing
> word document, it will take the focus and will interrupt whatever the user
> was doing.
>
> Is there any way to display the form without stealing focus, but still
> show
> it on top of other application currently running on the user's computer?
>