>> Any further suggestions?
>
> Works for me as described. You can download my sample project for
> comparison at http://dl.dropbox.com/u/5847625/MouseDownTest.zip
Thanks for the test project - works fine here, too.
Now I need to figure our what's wrong in my (also simple) other project :-/
che
On 12/14/11 3:39 PM, Torsten Curdt wrote:
> Awesome! Thanks guys.
>
> Now I do indeed get the event when I click on the content view. One
> problem still remains though - the subview of the content view is
> covering big portions of the content view. When I click on the subview
> I don't get the f
On 15/12/2011, at 9:13 AM, Torsten Curdt wrote:
> I have a custom window that where I receive mouseDown messages.
You probably don't want to do that. A custom window is OK if your window needs
a custom appearance, but any meaningful content (and event handling) should be
done by a view placed
Awesome! Thanks guys.
Now I do indeed get the event when I click on the content view. One
problem still remains though - the subview of the content view is
covering big portions of the content view. When I click on the subview
I don't get the first mouseDown. Neither in the content view nor in
the
On 12/14/11 2:13 PM, Torsten Curdt wrote:
> I have a custom window that where I receive mouseDown messages. Now
> the first mouseDown is always lost because it just activates the
> window.
> Here is the relevant code:
>
> https://gist.github.com/0b3b010ad675a349ce72
>
> So I was digging through
On 15/12/2011, at 9:13 AM, Torsten Curdt wrote:
> So I was digging through the docs but I don't see a way around this.
[NSView acceptsFirstMouse:]
--Graham
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
I'm no expert here, but I think I had the opposite problem - I have a
single custom NSView and it was really hard to get rid of the first mouse
down message sometimes :). Maybe try the views.
Vojtech
2011/12/14 Torsten Curdt
> I have a custom window that where I receive mouseDown messages. Now
I have a custom window that where I receive mouseDown messages. Now
the first mouseDown is always lost because it just activates the
window.
Here is the relevant code:
https://gist.github.com/0b3b010ad675a349ce72
So I was digging through the docs but I don't see a way around this.
http://de