Re: Cocoa, full-screen mode, and windows
Re: Cocoa, full-screen mode, and windows
- Subject: Re: Cocoa, full-screen mode, and windows
- From: Peter Maurer <email@hidden>
- Date: Mon, 14 Feb 2005 20:38:36 +0100
NSRect windowFrame = [glWindow frameRectForContentRect:NSMakeRect(
0, 0, newWidth, newHeight )];
[glWindow setFrame:windowFrame display:NO];
But the window moves to the wrong placeāit's always too high or too
low. (Horizontally, it seems OK.)
Does your application eat system-defined NSEvents? I've had similar
problems once, and it took me ages to find out they were caused by my
NSApplication subclass, which failed to send those events to super.
Peter.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden