Re: Open panel/window with button click in Print Dialog Extension (PDE)
Re: Open panel/window with button click in Print Dialog Extension (PDE)
- Subject: Re: Open panel/window with button click in Print Dialog Extension (PDE)
- From: Michael Babin <email@hidden>
- Date: Thu, 22 Sep 2011 08:48:45 -0500
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@hidden)
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:
This email sent to email@hidden