On Sep 20, 2011, at 2:47 AM, Bartosz Białecki wrote:

> I have a OutputBinsPDE sample and I added a button and a panel to it. I'd
> like now to open that panel when I click on the button. The problem is that
> every time the panel appears under the print dialog and I have no focus on
> it and I can't click on it. I tried with [panel orderFront:self],
> [panelmakeKeyAndOrderFront:self] and I tried also with NSWindowController
> and showWindow:self function, but nothing changed. What am I doing wrong? I
> think that is because the print dialog is modal, but I'm really new in mac
> os x and I don't know how to fix it. Please help.

See - [NSPanel setWorksWhenModal:].

_______________________________________________

Cocoa-dev mailing list ([email protected])

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