Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Sep : Send Application to Back
| Subject: | Send Application to Back |
| Posted by: | "Mitch" (mitch.a..@rockware.com) |
| Date: | Tue, 18 Sep 2007 09:13:33 |
I've written an in-process COM DLL that runs within ESRI's ArcMap. From
this DLL I create an out-of-process COM server and run a script. Except
for the very first script (after creating the process) the dialogs in
the out-of-process application appear behind ArcMap.
I've tried numerous ways of getting my out-of-process app to appear on
top or ArcMap to go to the back without any success:
Exposing SetFocus in the out-of-process app
sending WM_ACTIVATE, WM_NCACTIVATE to both apps
changing the ownership of the dialogs within the out-of-process app
Any ideas on what I need to do to change the windows z order?
Mitch