Re: Resizable borderless windows in Lion

2011-11-18 Thread Nicholas Francis
Problem with Xcode 4 is that this is the same build farm that compiles out standalone executable which has compatibility down to Tiger, so we're stuck on Xcode 3.x versions (at least for the next 8 months or so). Superannoying, but that's what we get for making a dev tool that will target

Resizable borderless windows in Lion

2011-11-17 Thread Nicholas Francis
Hi List. In Unity, we have custom titlebars for our windows and I'm trying to make them work nicely in Lion. Reading the Lion release notes, it says I should create my window with NSBorderlessWindowMask | NSResizableWindowMask. It also says that my app needs to be compiled with Lion as a

NSBorderlessWindowMask frontmost behaviour

2011-01-04 Thread Nicholas Francis
Hi there. In Unity, we are drawing our own window decorations (there's a lot of detachable tabs being dragged around), and I have an issue about which window goes to front when a user closes a borderless window. Essentially, Unity has 1 normal NSWindow (with titlebar, min/max buttons, etc).

Making an invisible Cocoa window catch mouse clicks

2008-11-18 Thread Nicholas Francis
, sample code (roundtransparent window has the same behavior as I'm seeing), but to no avail. Does anyone have a hint? Thanks, Nicholas Francis ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator