• 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: Solved: Focused UI element, UNSOLVED: widgets don't work properly in a bordrless window?!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solved: Focused UI element, UNSOLVED: widgets don't work properly in a bordrless window?!?


  • Subject: Re: Solved: Focused UI element, UNSOLVED: widgets don't work properly in a bordrless window?!?
  • From: Andreas Mayer <email@hidden>
  • Date: Wed, 20 Nov 2002 15:50:51 +0100

Am Mittwoch, 20.11.02 um 03:24 Uhr schrieb Ondra Cada:

works all right, *but* provided that the window is not borderless! It's
much worse -- in a borderless window even textfields don't work (aren't
editable)!

Does this help?

----
// Custom windows that use the NSBorderlessWindowMask can't become key by default. Therefore, controls in such windows
// won't ever be enabled by default. Thus, we override this method to change that.

- (BOOL) canBecomeKeyWindow
{
return YES;
}
----


bye. Andreas.
_______________________________________________
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: 
 >Solved: Focused UI element, UNSOLVED: widgets don't work properly in a bordrless window?!? (From: Ondra Cada <email@hidden>)

  • Prev by Date: Solved: widgets don't work properly in a bordrless window?!?
  • Next by Date: Re: more on stable sorting...
  • Previous by thread: Re: Solved: Focused UI element, UNSOLVED: widgets don't work properly in a bordrless window?!?
  • Next by thread: Getting CustomWindow with [ NSWindowController window ]
  • Index(es):
    • Date
    • Thread