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

Re: how to determine when [window windowNumber] is available


  • Subject: Re: how to determine when [window windowNumber] is available
  • From: Nathan Day <email@hidden>
  • Date: Fri, 25 Jan 2002 00:14:00 +1030

- (void)viewDidMoveToWindow

On Thursday, January 24, 2002, at 06:54 AM, RFM wrote:

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) ?


References: 
 >how to determine when [window windowNumber] is available (From: RFM <email@hidden>)

  • Prev by Date: Re: How to make Tiff with a mask?
  • Next by Date: Re: Making an NSImage form a NSImage
  • Previous by thread: how to determine when [window windowNumber] is available
  • Next by thread: Re: Calling BSD from Cocoa and/or CFM?
  • Index(es):
    • Date
    • Thread