Re: Re: NSWindow from code

2009-04-07 Thread Jan Bernard Marsman
Thanks Graham. I will do that. I was thinking in terms of class portability to include these panels inside my view (-controller) ;-) JB On 07/04/2009, at 3:40 AM, Jan Bernard Marsman wrote: From my subclass of an NSView I call the (simplified) following: - openHUD { [NSButton *

Re: NSWindow from code

2009-04-06 Thread Graham Cox
On 07/04/2009, at 3:40 AM, Jan Bernard Marsman wrote: From my subclass of an NSView I call the (simplified) following: - openHUD { [NSButton * button] = alloc init [NSWindow * w] = alloc init with some style ... [[w contentView] addSubview: button] NSWindowController * nw =