Re: how to determine when [window windowNumber] is available
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) ?