Re: NSView doesnt receive mouseMoved events?
Re: NSView doesnt receive mouseMoved events?
- Subject: Re: NSView doesnt receive mouseMoved events?
- From: Josh Abernathy <email@hidden>
- Date: Tue, 28 Jan 2003 08:05:08 -0500
>
Message: 11
>
Date: Tue, 28 Jan 2003 11:32:54 +0100
>
Subject: Re: NSView doesnt receive mouseMoved events?
>
Cc: mw <email@hidden>, Henry McGilton
>
<email@hidden>
>
To: Cocoa Development <email@hidden>
>
From: Jens Bauer <email@hidden>
>
>
Hi all,
>
>
in my window's awakeFromNib I have the following...
>
>
- (void)awakeFromNib
>
{
>
[self setAcceptsMouseMovedEvents:YES];
>
}
>
>
I also have this method implemented:
>
>
- (void)mouseMoved:(NSEvent *)event
>
{
>
fprintf(stderr, "[myWindow mouseMoved:event]\n");
>
}
>
>
>
-But for some reason, mouseMoved only gets called when the button is
>
*not* held down!
>
>
Is it possible to get mouseMoved events, even when the mouse button is
>
held down?
>
>
>
On Tuesday, Jan 28, 2003, at 06:00 Europe/Copenhagen, Henry McGilton
>
wrote:
I believe in that case it would send a message to mouseDragged.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.