FROM : Philip Bridson
DATE : Thu May 01 23:02:46 2008
Why is it that when you get the answer you always wonder why you
hadn't thought of it yourself? I've done this method so many times
with other classes but it just didn't occur to me. Never-mind.
Thank you for your help.
Phil.
On 1 May 2008, at 21:58, Kyle Sluder wrote:
> On Thu, May 1, 2008 at 4:53 PM, Philip Bridson
> <<email_removed>> wrote:
>> I don't mind manipulating it with code if I have to.
>
> Subclass NSWindow and override
> -initWithContentRect:styleMask:backing:defer to pass your custom
> window mask to super's implementation. Then in the identity pane of
> IB, set the class of the window to your custom class. At runtime,
> things should Just Work(TM).
>
> --Kyle Sluder
DATE : Thu May 01 23:02:46 2008
Why is it that when you get the answer you always wonder why you
hadn't thought of it yourself? I've done this method so many times
with other classes but it just didn't occur to me. Never-mind.
Thank you for your help.
Phil.
On 1 May 2008, at 21:58, Kyle Sluder wrote:
> On Thu, May 1, 2008 at 4:53 PM, Philip Bridson
> <<email_removed>> wrote:
>> I don't mind manipulating it with code if I have to.
>
> Subclass NSWindow and override
> -initWithContentRect:styleMask:backing:defer to pass your custom
> window mask to super's implementation. Then in the identity pane of
> IB, set the class of the window to your custom class. At runtime,
> things should Just Work(TM).
>
> --Kyle Sluder
| Related mails | Author | Date |
|---|---|---|
| Philip Bridson | May 1, 22:53 | |
| Kyle Sluder | May 1, 22:58 | |
| Philip Bridson | May 1, 23:02 |






Cocoa mail archive

