• 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: Editable fields in a borderless window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Editable fields in a borderless window


  • Subject: Re: Editable fields in a borderless window
  • From: Robert Clair <email@hidden>
  • Date: Thu, 15 Sep 2005 18:18:07 -0400

You have to subclass NSWindow and override [NSWindow canBecomeKeyWindow] to return YES in your custom class:

- (BOOL) canBecomeKeyWindow
{
  return YES;
}

The default implementation returns NO for a borderless window.


...Bob Clair _______________________________________________ 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
  • Follow-Ups:
    • Re: Editable fields in a borderless window
      • From: Louis Sinclair <email@hidden>
  • Prev by Date: Re: Editable fields in a borderless window
  • Next by Date: `NSTask' and child processes
  • Previous by thread: Re: Editable fields in a borderless window
  • Next by thread: Re: Editable fields in a borderless window
  • Index(es):
    • Date
    • Thread