Re: how to activate and bring form to the top
- From: "Ajay Kalra" <ajaykalra@xxxxxxxxx>
- Date: Mon, 23 Feb 2009 21:13:19 -0500
"Peter Duniho" <NpOeStPeAdM@xxxxxxxxxxxxxxxx> wrote in message news:op.uptwxx078jd0ej@xxxxxxxxxxxxxxxxxxxx
If by "click on another window" you mean "click on a window owned by a different process", then the answer is "you can't".
By design, a process on Windows is not permitted to force an arbitrary window to the foreground, unless one of a certain narrow list of conditions are met.
Why cant one write a system wide hook to achieve it? Why is it a system limitation?
--
Ajay
.
- Follow-Ups:
- Re: how to activate and bring form to the top
- From: Peter Duniho
- Re: how to activate and bring form to the top
- References:
- how to activate and bring form to the top
- From: Alex K.
- Re: how to activate and bring form to the top
- From: Peter Duniho
- how to activate and bring form to the top
- Prev by Date: Re: PlaySound in Windows Service
- Next by Date: Command line arguments
- Previous by thread: Re: how to activate and bring form to the top
- Next by thread: Re: how to activate and bring form to the top
- Index(es):