Hi All,
I want to customize print panel dialog. I'm adding a button on print panel dialog but it is not getting show on dialog. I'm using following code snippet. Let me know where the problem is - (void)printShowingPrintPanel:(BOOL)flag { NSPrintOperation *printOp; NSButton* testAccecory = [[[NSButton alloc] initWithFrame:NSMakeRect(31,30,59,14)] autorelease]; [testAccecory setTitle:@"Check"]; [testAccecory setButtonType:NSMomentaryPushButton]; [testAccecory setTarget:self]; printOp = [NSPrintOperation printOperationWithView:demoView printInfo:[self printInfo]]; [printOp setAccessoryView: testAccecory]; [printOp setShowPanels:flag]; [printOp runOperation]; } Thanks in Advance, Ghufran Ahmad +91 - 9953130470 Skype ID: ghufran_khan81 AOL ID: gahmad81 _______________________________________________ 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]