Skip navigation.
 
mlsetAccessoryView not responding
FROM : David Wu
DATE : Thu Nov 21 20:16:40 2002

Hi guys,

I have run into a weird problem. I have created a NSView subclass and
trying to use that as a custome view and add to the printing pane. The
code for the printing job is as follows:

in .h file:
@interface AppController : NSObject
{

IBOutlet BigLetterView *inLetterView;
IBOutlet accView2 *customePrintView;

}
@end


in .m file:

- (IBAction)print:(id)sender
{
    NSView *newView;
    NSPrintOperation *printOp;

    printOp = [NSPrintOperation printOperationWithView:inLetterView];
    newView = [customePrintView printAccessoryView];
    [printOp setAccessoryView:newView];
    [printOp setShowPanels:YES];
    [printOp runOperation];
}

when i compile and run i got the 'accView2' does not respond to
'printAccessoryView' and at runtime there is no custome pane shown up
at the pringting pane pop-up menue...
Any ligth on this, would be great!!
Thanks guys
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlsetAccessoryView not responding David Wu Nov 21, 20:16
mlRE: setAccessoryView not responding Jonathan E. Jackel Nov 21, 20:48