• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Child windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Child windows? (From: "Ian G. Gillespie" <email@hidden>)

  • Prev by Date: Re: Creating Bundles
  • Next by Date: building NSMatrix in IB: setting tags
  • Previous by thread: Re: Child windows?
  • Next by thread: Sharing an NSTextView
  • Index(es):
    • Date
    • Thread