top most window question when it is launched by another app

2008-07-09 Thread xiaobin
Hello, I have these question for several days. 1. How to make the modal window become the top most when the modal window is launched from another application by using NSTask? 2. And I also want to know the types of window in cocoa application. Is there only modal window in cocoa app when I use

Re: top most window question when it is launched by another app

2008-07-09 Thread Mike Abdullah
On 9 Jul 2008, at 15:10, xiaobin wrote: Hello, I have these question for several days. 1. How to make the modal window become the top most when the modal window is launched from another application by using NSTask? 2. And I also want to know the types of window in cocoa application. Is

Re: top most window question when it is launched by another app

2008-07-09 Thread Mike Bellerby
In BB.app do [NSApp activateIgnoringOtherApps:YES]; before showing the window. Cheers Mike On 9 Jul 2008, at 15:10, xiaobin wrote: Hello, I have these question for several days. 1. How to make the modal window become the top most when the modal window is launched from another application