• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: makeKeyAndOrderFront and NSBorderlessWindowMask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: makeKeyAndOrderFront and NSBorderlessWindowMask


  • Subject: Re: makeKeyAndOrderFront and NSBorderlessWindowMask
  • From: Jorge Arroyo <email@hidden>
  • Date: Tue, 17 Feb 2004 17:11:18 +0100

You're right, in my haste I didn't notice it, and as it gave no error,
I didn't see the mistake... I'll have to be more aware :)

I've got it working now, but I also had too add [mainWindow
setInitialFirstResponder:levelView]; because I got no KeyDown events
until I clicked with the mouse... fortunately I was able to figure that
out :)


Thanks a lot for the help

-Jorge


On Feb 17, 2004, at 2:32 PM, Brian Christensen wrote:

> On Feb 17, 2004, at 1:45 AM, Jorge Arroyo wrote:
>
>> mainWindow = [[NSWindow alloc] initWithContentRect:screenRect
>> styleMask:NSBorderlessWindowMask
>> backing:NSBackingStoreBuffered
>> defer:NO screen:[NSScreen
>> mainScreen]];
>
> You're not instantiating your custom window class. It should be
> mainWindow = [[YourWindow alloc] ...];
>
> /brian
> _______________________________________________
> 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.
_______________________________________________
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.

References: 
 >makeKeyAndOrderFront and NSBorderlessWindowMask (From: Jorge Arroyo <email@hidden>)
 >Re: makeKeyAndOrderFront and NSBorderlessWindowMask (From: Brian Christensen <email@hidden>)
 >Re: makeKeyAndOrderFront and NSBorderlessWindowMask (From: Jorge Arroyo <email@hidden>)
 >Re: makeKeyAndOrderFront and NSBorderlessWindowMask (From: Brian Christensen <email@hidden>)

  • Prev by Date: Re: focus ring around button
  • Next by Date: Re: NSRunAlertPanel-not working?
  • Previous by thread: Re: makeKeyAndOrderFront and NSBorderlessWindowMask
  • Next by thread: Re: makeKeyAndOrderFront and NSBorderlessWindowMask
  • Index(es):
    • Date
    • Thread