• 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
how to determine when [window windowNumber] is available
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to determine when [window windowNumber] is available


  • Subject: how to determine when [window windowNumber] is available
  • From: RFM <email@hidden>
  • Date: Wed, 23 Jan 2002 15:24:07 -0500
  • Organization: RFM & Associates

Hello,

Can someone tell me if there is a way to determine from an NSView (a
subclass thereof) when the view is actually placed into its window ?
Something similar to the 'FinishCreateSelf' method in Powerplant. I want
to be able to use the windowNumber of the view's [[self window]
windowNumber] as a unique identifier at the time that my custom NSView
is instantiated but, at this point no window is available. Any way to do
this (without waiting for the first call to drawRect) ?

Thanks in advance for any help,
Regards,
Bob M.


  • Follow-Ups:
    • Re: how to determine when [window windowNumber] is available
      • From: Nathan Day <email@hidden>
  • Prev by Date: removing selection-highlight from NSTableView
  • Next by Date: Re: Embedded database engine in Cocoa?
  • Previous by thread: Re: removing selection-highlight from NSTableView
  • Next by thread: Re: how to determine when [window windowNumber] is available
  • Index(es):
    • Date
    • Thread