Re: Changing NSPrintPanel UI in 10.5
On May 13, 2008, at 1:04 PM, Rimas wrote: If you want that functionality, then we recommend that you have a separate Page Setup menu item to invoke that dialog as this is the standard Mac OS X behavior and what users will expect. Ok. I will think about that one more time. Thank you for response. By the way, as I understand, there is no "legal" methods to get what I want (additional button in PrintPanel). Right? Correct, not where you wish to place it. -- David Duncan Apple DTS Animation and Printing [EMAIL PROTECTED] ___ 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]
Re: Changing NSPrintPanel UI in 10.5
> If you want that functionality, then we recommend that you have a separate > Page Setup menu item to invoke that dialog as this is the standard Mac OS X > behavior and what users will expect. Ok. I will think about that one more time. Thank you for response. By the way, as I understand, there is no "legal" methods to get what I want (additional button in PrintPanel). Right? Regards, Rimas. ___ 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]
Re: Changing NSPrintPanel UI in 10.5
On May 13, 2008, at 12:05 PM, Rimas wrote: You are right. And that works very well. Except one thing. After changing paper size in Print dialog I have two options - to press Cancel (and revert changes I have made) or to press Print and save new options + print document. I want only to change paper size and save that information for later print. I do not want to print at this moment. In other words, I want to have Print and Page Setup (without printing) functionality in one (Print) dialog. If you want that functionality, then we recommend that you have a separate Page Setup menu item to invoke that dialog as this is the standard Mac OS X behavior and what users will expect. -- David Duncan Apple DTS Animation and Printing [EMAIL PROTECTED] ___ 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]
Re: Changing NSPrintPanel UI in 10.5
You are right. And that works very well. Except one thing. After changing paper size in Print dialog I have two options - to press Cancel (and revert changes I have made) or to press Print and save new options + print document. I want only to change paper size and save that information for later print. I do not want to print at this moment. In other words, I want to have Print and Page Setup (without printing) functionality in one (Print) dialog. > This is already handled inside the existing print dialog, although not in > its collapsed state. Clicking the disclosure button adds controls to allow > you to select the paper size and orientation. There are other controls you > can add (or remove) as well, search the documentation for > NSPrintPanelOptions (used with NSPrintPanel's -setOptions: method). Rimas. ___ 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]
Re: Changing NSPrintPanel UI in 10.5
On May 13, 2008, at 11:52 AM, Rimas wrote: What are you trying to accomplish? Basicaly I am trying to merge "Page setup" and "Print" dialogs. That is easy by using NSPrintPanel's setOptions. But I want to keep "Page setup" functionality also. I mean, I want to be able to change paper size for example, without printing. This is quite difficult to do that when having only "Cancel" and "Print" buttons. This is already handled inside the existing print dialog, although not in its collapsed state. Clicking the disclosure button adds controls to allow you to select the paper size and orientation. There are other controls you can add (or remove) as well, search the documentation for NSPrintPanelOptions (used with NSPrintPanel's -setOptions: method). -- David Duncan Apple DTS Animation and Printing [EMAIL PROTECTED] ___ 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]
Re: Changing NSPrintPanel UI in 10.5
Thank you for reply. > What are you trying to accomplish? Basicaly I am trying to merge "Page setup" and "Print" dialogs. That is easy by using NSPrintPanel's setOptions. But I want to keep "Page setup" functionality also. I mean, I want to be able to change paper size for example, without printing. This is quite difficult to do that when having only "Cancel" and "Print" buttons. Best Regards, Rimas. ___ 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]
Re: Changing NSPrintPanel UI in 10.5
On May 13, 2008, at 10:23 AM, Rimas wrote: I am interested in adding additional button to the NSPrintPanel dialog at the very bottom line. Between ( PDF v ) and ( Cancel ). Is that possible under Leopard? There no simple way to do this, and I would highly discourage trying to do so. Custom accessory view is not suitable for me. Even topics from "Extending Printing Dialogs" does not help, because they does not cover information about how to modify PrintPanel UI outside changeable panes. What are you trying to accomplish? I could do this by getting NSPrintPanel window, accessing its content view and so on... but I wanted to be sure that this is the only way to do that. Is there any "right way" to achieve this? There is no "right way" to do this. The content outside of any accessory views that you add to the print panel does not belong to you and should be considered an implementation detail. -- David Duncan Apple DTS Animation and Printing [EMAIL PROTECTED] ___ 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]