Re: Window load delegate function?
Re: Window load delegate function?
- Subject: Re: Window load delegate function?
- From: Brian Luft <email@hidden>
- Date: Sat, 17 Nov 2001 09:40:28 -0600
Those don't do what I want. I can't figure out what windowDidExpose
does, it never seems to get called. The other two seem to get called
*every time* the window gets focus. That's not what I want. I need one
that's called *only* the very first time the window is loaded and
displayed on the screen. awakeFromNib is too early.
Thanks. Brian
On Friday, November 16, 2001, at 10:33 PM, Enigmarelle Development wrote:
They're hidden away in the NSWindow documentation -
- (void)windowDidBecomeMain:(NSNotification *)aNotification
- (void)windowDidBecomeKey:(NSNotification *)aNotification
- (void)windowDidExpose:(NSNotification *)aNotification
Also look at awakeFromNib in NSNibLoading.h
-john
On Friday, November 16, 2001, at 07:27 PM, Brian Luft wrote:
I'm looking for the event or delegate function or whatever that gets
called when a window is first displayed on the screen. What is it?
I've looked through the docs and Googled for it, but I can't find
anything.
Thanks. Brian
---
Brian Luft
email@hidden
http://youma.cjb.net
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev