Re: Utility/Floating window with titlebar on left side

2010-05-06 Thread Dan Ribe
Hello Everyone, I am porting my application from carbon to cocoa need exact functionality. In Carbon I was using Side Title with the utility window. Is there any way to do the same thing in cocoa now? I am not able to see Side Title anywhere in the interface builder. Already tried

Re: Utility/Floating window with titlebar on left side

2010-05-06 Thread Paul Sanders
Already tried NSBorderlessWindowMask, but that doesn't supports the close button functionality, which is required in my case. You can create a close button via +[NSWindow standardWindowButton:forStyleMask:] I think NSBorderlessWindowMask is the only game in town here. Paul Sanders.

Re: Utility/Floating window with titlebar on left side

2008-09-22 Thread Nick Beadman
Dave, On Sep 20, 2008, at 2:23 am, Dave Jewell wrote: The code below shows how (without IB) to do this programmatically: NSWindow * weirdWindow = [[NSWindow alloc] initWithContentRect: NSMakeRect (50, 50, 500, 300) styleMask: NSTitledWindowMask | (1 9) backing: NSBackingStoreBuffered

Re: Utility/Floating window with titlebar on left side

2008-09-22 Thread Eric Schlegel
On Sep 22, 2008, at 12:03 PM, Nick Beadman wrote: At this point I think the only thing to do is to create a borderless window and create my own left side title bar (using +[NSWindow standardWindowButton:] to get small standard window buttons). If I manage to implement such a thing I will

Re: Utility/Floating window with titlebar on left side

2008-09-22 Thread Nick Beadman
Eric, On Sep 22, 2008, at 2:08 pm, Eric Schlegel wrote: On Sep 22, 2008, at 12:03 PM, Nick Beadman wrote: At this point I think the only thing to do is to create a borderless window and create my own left side title bar (using + [NSWindow standardWindowButton:] to get small standard window

Re: Utility/Floating window with titlebar on left side

2008-09-22 Thread Eric Schlegel
On Sep 22, 2008, at 3:55 PM, Nick Beadman wrote: According to http://www.carbondev.com/site/?page=64-bit+Carbon: HITheme is currently undecided. We did hear from multiple developers at the conference today who use HITheme and would like to see it in 64-bit. -eric schlegel Has the fate

Re: Utility/Floating window with titlebar on left side

2008-09-20 Thread Dave Jewell
On Thu, 18 Sep 2008 17:30:27 -0700, Nick Beadman said: Interface Builder does have Side Title checkbox in the Appearance section of the window attributes inspector when working on Carbon window. IB2 is slightly more intelligent in that it knows it should only be enabled for certain window

Re: Utility/Floating window with titlebar on left side

2008-09-18 Thread Kyle Sluder
On Wed, Sep 17, 2008 at 3:04 PM, Nick Beadman [EMAIL PROTECTED] wrote: The issue I am having is that I want my NSPanel to have the title bar on the (left) side. In Carbon there is an WindowAttribute (kWindowSideTitlebarAttribute) which makes this trivial but I can't find anything equivalent in

Re: Utility/Floating window with titlebar on left side

2008-09-18 Thread Nick Beadman
Kyle, Thanks for the reply. On Sep 18, 2008, at 12:08 am, Kyle Sluder wrote: On Wed, Sep 17, 2008 at 3:04 PM, Nick Beadman [EMAIL PROTECTED] wrote: The issue I am having is that I want my NSPanel to have the title bar on the (left) side. In Carbon there is an WindowAttribute

Utility/Floating window with titlebar on left side

2008-09-17 Thread Nick Beadman
I am working on an application which, while having no menu bar, presents a floating window when certain applications are frontmost. The floating window contains a specialized WebView and even a download manager. I have no Carbon/Cocoa preference, believing that you should concentrate on