Re: Setting front window when launched from another application

2010-04-15 Thread Eli Bach
On Apr 15, 2010, at 11:11 PM, Gaurav Srivastava wrote: > So, is there any way to prevent the user interaction with the parent > application and still keep receiving events from child application. Um, perhaps you could describe what you are trying to accomplish, as the normal way to prevent a us

Re: Setting front window when launched from another application

2010-04-15 Thread Gaurav Srivastava
So, is there any way to prevent the user interaction with the parent application and still keep receiving events from child application. On Thu, Apr 15, 2010 at 11:44 PM, Jens Alfke wrote: > > On Apr 15, 2010, at 10:32 AM, Gaurav Srivastava wrote: > > > When user performs certain action, the par

Re: Setting front window when launched from another application

2010-04-15 Thread Jens Alfke
On Apr 15, 2010, at 10:32 AM, Gaurav Srivastava wrote: > When user performs certain action, the parent application launches > another application B. It does so by doing fork(). Whoa — don’t do this. GUI apps should be launched by calling LaunchServices (or NSWorkspace, which is a wrapper around

Setting front window when launched from another application

2010-04-15 Thread Gaurav Srivastava
Hi, I am facing some issues with setting an application as front process when it is launched from another application. Basically, I have a parent application A. When user performs certain action, the parent application launches another application B. It does so by doing fork(). In child process, i