On Aug 31, 2008, at 7:38 PM, Ken Thomases wrote:

On Aug 31, 2008, at 7:28 PM, Chris Idou wrote:

It looks like if the window I want to popup has NSBorderlessWindowMask set, then this API pops up TWO windows, both the one I really want, and the last active. On the other hand if it has a title, then it works as expected.

Any thoughts?

Can the window become "main"? Check out the documentation for - [NSWindow canBecomeMainWindow]. By default, windows without title bars can't become main.

Oh, it might also be whether the window can become key. So, pay attention to -canBecomeKeyWindow, too.

Cheers,
Ken
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to