Re: Control in NSWindow top-right

2009-03-10 Thread Kyle Sluder
Use -[NSWindow standardWindowButton:] to get a pointer to one of the buttons in the titlebar; doesn't matter which one, but you may want to use NSWindowToolbarButton if you're putting it in the upper-right. Then use -[NSView superview] to get at the view that encloses the titlebar, and add your vie

Control in NSWindow top-right

2009-03-10 Thread Mozketo
Hi All, Could anyone point me towards documentation/blog on how to add a control to the top-right of a Window, or tell me if it's even possible? I'd like to add an NSButton up there, perhaps a "Register now" button for example. To further clarify what I'm talking about here a link http:/