how to determine when [window windowNumber] is available
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.