Re: get the NSWindow instance
Re: get the NSWindow instance
- Subject: Re: get the NSWindow instance
- From: Nico <email@hidden>
- Date: Tue, 30 Jul 2002 14:15:21 +0200
And in -awakeFromNib ?
Nico
On 7/30/02 2:08 PM, "Chong Hiu Pun" <email@hidden> wrote:
>
In my cocoa application, there is a NSWindow contained a few button and
>
textfield. How can I get my NSWindow instance(I want to control the NSWindow
>
behaviour by code) ?
>
>
I did the following but don't work:
>
>
-(void)applicationDidFinishLaunching:(NSNotification*)notif
>
{
>
gWin = [NSApp keyWindow];
>
}
>
>
gWin is nil!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.