Re: Solved: Focused UI element, UNSOLVED: widgets don't work properly in a bordrless window?!?
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.