On Sat, May 15, 2010 at 3:48 PM, Philip White wrote:
>
> On May 15, 2010, at 2:31 PM, Philip White wrote:
>
> I wrote this:
>
>> -(void)display
>> {
>> /* seems to be unnecessary?
>> NSGraphicsContext *context = [NSApp context];
>> NSGraphicsContext *oldContext = [NSGraphicsConte
On May 15, 2010, at 2:31 PM, Philip White wrote:
I wrote this:
> -(void)display
> {
> /* seems to be unnecessary?
> NSGraphicsContext *context = [NSApp context];
> NSGraphicsContext *oldContext = [NSGraphicsContext currentContext];
> [NSGraphicsContext setCurrentContext:c
On May 15, 2010, at 12:43 PM, Scott Ribe wrote:
> If you can't get a direct answer to your question, could you create a
> subclass of NSWindow with a couple of very simple overrides:
>
> - (void) display
> {}
>
> - (void) displayIfNeeded
> {}
>
> You couldn't leave it out lest it muck with ev
I have only had the reverse problem (in some cases I need to circumvent AppKit
mechanism), but have you looked at [NSWindow constrainFrameRect:frameRect
toScreen:screen]:
http://developer.apple.com/mac/library/documentation/cocoa/reference/ApplicationKit/Classes/NSWindow_Class/Reference/Reference
> If you can't get a direct answer to your question, could you create a
> subclass of NSWindow with a couple of very simple overrides:
>
> - (void) display
> {}
>
> - (void) displayIfNeeded
> {}
>
> You couldn't leave it out lest it muck with event handling, but you could
> order it in, positi
If you can't get a direct answer to your question, could you create a subclass
of NSWindow with a couple of very simple overrides:
- (void) display
{}
- (void) displayIfNeeded
{}
You couldn't leave it out lest it muck with event handling, but you could order
it in, position it, check its posit