FROM : j o a r
DATE : Fri Jan 11 06:53:02 2008
Hi,
What is the problem that you're really trying to solve here? Why do
you need to find a window behind the key window that's not the main
window? I suspect that we will be able to give you a better answer if
we can understand what you're really trying to do.
As an example, your real problem might not be that you need the
ability to find a non-main window, but rather that the window you're
trying to find *should* be main, but isn't. It's important to identify
the correct problem to solve before attempting to find a solution.
j o a r
On Jan 10, 2008, at 8:15 PM, norio wrote:
> Hi,
>
> I'd like to know how to get the most front window below a key window
> (e.g.Find dialog).
>
>
> I've tried the following things but failed.
>
> 1. call currentDocument of the sharedDocumentController and tried to
> get the window from the document.
> But the document returned by currentDocument was nil.
>
> 2. call mainWindow of the sharedApplication. But the return object
> was nil.
>
>
> Thanks in advance.
> Norio Ota
DATE : Fri Jan 11 06:53:02 2008
Hi,
What is the problem that you're really trying to solve here? Why do
you need to find a window behind the key window that's not the main
window? I suspect that we will be able to give you a better answer if
we can understand what you're really trying to do.
As an example, your real problem might not be that you need the
ability to find a non-main window, but rather that the window you're
trying to find *should* be main, but isn't. It's important to identify
the correct problem to solve before attempting to find a solution.
j o a r
On Jan 10, 2008, at 8:15 PM, norio wrote:
> Hi,
>
> I'd like to know how to get the most front window below a key window
> (e.g.Find dialog).
>
>
> I've tried the following things but failed.
>
> 1. call currentDocument of the sharedDocumentController and tried to
> get the window from the document.
> But the document returned by currentDocument was nil.
>
> 2. call mainWindow of the sharedApplication. But the return object
> was nil.
>
>
> Thanks in advance.
> Norio Ota
| Related mails | Author | Date |
|---|---|---|
| norio | Jan 11, 05:15 | |
| j o a r | Jan 11, 06:53 | |
| norio | Jan 11, 11:58 | |
| j o a r | Jan 11, 17:41 |






Cocoa mail archive

