• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSView doesnt receive mouseMoved events?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: NSPorts
  • Next by Date: Re: Drawing gradients in views
  • Previous by thread: Re: NSView doesnt receive mouseMoved events?
  • Next by thread: main window sound
  • Index(es):
    • Date
    • Thread