Re: Child windows?
Re: Child windows?
- Subject: Re: Child windows?
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 30 Jan 2003 16:40:45 -0500
on 03-01-30 11:49 AM, Ian G. Gillespie at email@hidden wrote:
>
This is a question I asked a while ago and got no response from it, so
>
I will ask again since childWindow: as come up again. I am wondering
>
how I can have a childWindow be the first responder without the parent
>
window becoming "deactivated". I don't think I eloquently said that so
>
here is an example:
>
>
In Mail, when you begin typing in an address, a borderless window
>
appears with a table in it that has all a list of addresses that match
>
the one you are typing. Rows in that table are selected (so it is the
>
first responder?), but the scroll bars on the main composer window do
>
not gray out or become "deactivated". Anyone know how to get this
>
behavior?
You want to look at material about "nonactivating" windows, and related
settings. A good starting place might be the documentation in the NSPanel
class reference document for the setBecomesKeyOnlyIfNeeded: method, and be
sure to follow the links to related methods. There are some relevant
settings in the IB Info Panel for NSPanels, too, I think.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.