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, it launches the application B by calling execv(). In parent process, it runs an event loop in which it waits for events received from B. It is basically done to avoid user interaction with application A. Only when the user is done with application B, it can interact with A. Now, what happens is that on launching B from A, B does not come to focus. Even on explicitly setting B as front process, the issue does not get solved. One more issue I am facing is that when some modal dialog is up in A and then I launch B, it goes behind the modal dialog.
Could you suggest some possible solution for this. Thanks, Gaurav Srivastava. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com