FROM : Bill Cheeseman
DATE : Thu Jan 30 22:40:45 2003
on 03-01-30 11:49 AM, Ian G. Gillespie at <email_removed> 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_removed>
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Thu Jan 30 22:40:45 2003
on 03-01-30 11:49 AM, Ian G. Gillespie at <email_removed> 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_removed>
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| James Pengra | Jan 29, 18:58 | |
| Matt Gemmell | Jan 29, 20:23 | |
| Ryan Stevens | Jan 30, 04:44 | |
| Ian G. Gillespie | Jan 30, 17:49 | |
| Bill Cheeseman | Jan 30, 22:40 | |
| matt neuburg | Feb 3, 01:50 |






Cocoa mail archive

