NSWindow and NSView sizes
NSWindow and NSView sizes
- Subject: NSWindow and NSView sizes
- From: Cyril Godefroy <email@hidden>
- Date: Mon, 15 Apr 2002 22:34:27 +0200
Although I looked several times in the doc, I cannot find the way to add
a NSView to a NSWindow that won't automagically scale to the NSWindow's
size.
What I do is:
fsMovieView = [[[QTKitFSView alloc] retain] initWithFrame:fsRect
withParent:self];
...
[fsWindow setBackgroundColor:[NSColor blackColor]];
[fsWindow setLevel:windowLevel];
[fsWindow setContentView: fsMovieView];
...
Of course, my fsRect is not the sameSize as the screen Rect.
How would I do this?
Cyril
_______________________________________________
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.