load nib file and openglfullscreen
load nib file and openglfullscreen
- Subject: load nib file and openglfullscreen
- From: "Douglas Pasqua" <email@hidden>
- Date: Thu, 6 Sep 2007 14:58:25 -0300
Hello,
I´m using NSOpenGLFullScreen sample code and I want to add new functionality
to it.
I create a new Nib File in the project named 'test'. I want to load the Nib
File created when a mouse click is fired on the screen of the main window of
NSOpenGLFullScreen. Is This Possible ? The Nib File 'test' contains a window
with a webview inside.
Below, it´s the function that i´m using to try to loading the NiB File. But
The Nib File doesn´t open after a mouse event fired.
- (BOOL)loadMyNibFile
{
if (![NSBundle loadNibNamed:@"test" owner:self])
{
NSLog(@"Warning! Could not load myNib file.\n");
return NO;
}
return YES;
}
The Nib Filename is 'test'. Can someone help ?
Sorry for the english.
Thanks,
Douglas Pasqua.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden