load nib file and openglfullscreen

  • 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.
previous month september 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Go to today