newbie:how to get the frontmost window but a key window
newbie:how to get the frontmost window but a key window
- Subject: newbie:how to get the frontmost window but a key window
- From: norio <email@hidden>
- Date: Fri, 11 Jan 2008 13:15:40 +0900
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden