customize print panel dialog
customize print panel dialog
- Subject: customize print panel dialog
- From: "Ghufran Ahamad" <email@hidden>
- Date: Wed, 7 May 2008 10:02:44 +0530
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 (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