FROM : Andreas Mayer
DATE : Wed Nov 20 15:50:51 2002
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Wed Nov 20 15:50:51 2002
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Ondra Cada | Nov 20, 02:33 | |
| Ondra Cada | Nov 20, 03:24 | |
| Marco Binder | Nov 20, 12:23 | |
| Ondra Cada | Nov 20, 14:54 | |
| Andreas Mayer | Nov 20, 15:50 | |
| Clark S. Cox III | Nov 20, 20:46 | |
| Marcel Weiher | Nov 20, 22:39 | |
| Sheehan Olver | Nov 20, 22:55 | |
| Ondra Cada | Nov 20, 23:03 |






Cocoa mail archive

