How to keep APP on top?

  • Thread starter Thread starter Victor Chinn
  • Start date Start date
V

Victor Chinn

I use p/invoke to shellexecuteex to start a secondary
application. The second app starts but keeps the focus
and window on top. How do I force the first
(originating) APP to be back on top without user
intervention? I have no control of the secondary
application, e.g. Voice Recorder.
 
Hi Victor,

Purhaps try BringToFront.

-Katie

--------------------
| Content-Class: urn:content-classes:message
| From: "Victor Chinn" <[email protected]>
| Sender: "Victor Chinn" <[email protected]>
| Subject: How to keep APP on top?
| Date: Mon, 4 Aug 2003 21:15:41 -0700
| Lines: 8
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcNbCDuZ/SdqOGfZR+K4+9f82yBsng==
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:30146
| NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| I use p/invoke to shellexecuteex to start a secondary
| application. The second app starts but keeps the focus
| and window on top. How do I force the first
| (originating) APP to be back on top without user
| intervention? I have no control of the secondary
| application, e.g. Voice Recorder.
|
|
|

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top