FROM : Michael Becker
DATE : Thu Dec 09 15:14:20 2004
Am 09.12.2004 um 14:26 schrieb Louis C. Sacha:
> NSBox instances use an instance of NSView as a content view, so you
> probably don't want to directly add your custom view as a subview of
> the NSBox.
Aaaah! Okay, thank you! I completely missed that :-) Alright. Thanks a
lot.
> [[container contentView] addSubview:yourCustomView];
I'm doing it now by going with:
[ container setContentView:myCustomView];
which works like a charm :-) Thanks!
Cheers,
Michael
DATE : Thu Dec 09 15:14:20 2004
Am 09.12.2004 um 14:26 schrieb Louis C. Sacha:
> NSBox instances use an instance of NSView as a content view, so you
> probably don't want to directly add your custom view as a subview of
> the NSBox.
Aaaah! Okay, thank you! I completely missed that :-) Alright. Thanks a
lot.
> [[container contentView] addSubview:yourCustomView];
I'm doing it now by going with:
[ container setContentView:myCustomView];
which works like a charm :-) Thanks!
Cheers,
Michael
| Related mails | Author | Date |
|---|---|---|
| Michael Becker | Dec 7, 03:06 | |
| Michael Becker | Dec 7, 17:58 | |
| Ricky Sharp | Dec 7, 18:30 | |
| Michael Becker | Dec 8, 11:24 | |
| John C. Randolph | Dec 8, 19:02 | |
| Michael Becker | Dec 9, 11:52 | |
| Louis C. Sacha | Dec 9, 14:26 | |
| Michael Becker | Dec 9, 15:14 |






Cocoa mail archive

