Skip navigation.
 
mlRe: initialize the Frame?
FROM : Scott Anguish
DATE : Fri Nov 22 02:57:28 2002

On Thursday, November 21, 2002, at 05:00 PM, David Wu wrote:

> Well.. it appears from this that your custom view has no size set.. 
> it may very well be in the print panel, but you just can't see it. 
> initWithFrame: is the designated initializer for NSView...
>
> normally an accessory view is loaded from a nib, so it has controls
> and such in it.
>

>>    customePrintView = [[NSView alloc] init];
>>    [printOp setAccessoryView:customePrintView];
>>    [printOp setShowPanels:YES];
>>    [printOp runOperation];
>>

>
> what's the proper syntax for the setting up absolute size for a view??


   That would be [[NSView alloc] initWithFrame:someRect]
_______________________________________________
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
mlinitialize the Frame? David Wu Nov 21, 23:00
mlRe: initialize the Frame? Scott Anguish Nov 22, 02:57