Hi Ken, thanks for answering.
> From what perspective?
From the perspective of the API, i.e.
- after `close` returns, windowWillClose was already being called
- after calling `miniaturize`, windowDidMiniaturize was already being
called and isMiniaturized is guaranteed to return true.
etc.
From
I was wondering if anyone knows which of the various NSWindow methods
have asynchronous operation and which are blocking, with their effects
guaranteed after the call?
I'm interested in these in particular:
orderFront -- ?
orderOut-- ?
makeKeyWindow -- a
> I encountered this same issue. Making the window a one-shot window
> (window.oneShot = YES) works around it.
Hi Ken,
Thank you very much, that worked!
I also posted this question on so[1] if you want to answer it there too.
Thanks again,
Cosmin.
[1] http://stackoverflow.com/questions/2545
Hi,
I noticed that the sequence:
setReleasedWhenClosed(false)
miniaturize
close
makeKeyAndOrderFront
results in a visible window for which _hovering_ on the standard
titlebar butons doesn't work (clicking on the buttons and
moving/resizing the window does work).
The problem is the minia
Hi Bavarious,
Thanks a lot for the links and explanation. That was very helpful.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)l
Hi,
I have a strange problem.
I am using C and the objc runtime on OSX 10.9.3 to get a value from a
NSDictionary.
The objectForKey method returns an invalid pointer on x64 (not NULL,
but the same address 0x937 for _any_ valid key), but works fine on
i386.
I attached a small test case to show th
> I have edge snapping too. Try:
>
> windowWillResize:toSize:
> Return Value
> A custom size to which the specified window will be resized.
>
> It's called before every size change, including during live resizing.
Thanks, that's good for resizing. There's still a problem with the moving.
_
> Can I ask why you’re trying to do this? This sounds like something that’s so
> unusual to do that I suspect you’re trying to use an overly complicated
> approach to achieve something that is really simple in Cocoa. And what
> exactly do you mean by “synchronous window moving event”?
I want t
Hi,
How can I hit-test the title bar rectangle without the resizing
corners and edges?
(I need this so I can implement synchronous window moving events).
Thanks.
PS: Empirically, the edges are 3px wide on OSX 10.9 and the corners
are 4px, but I'd rather not hardcode these.
_