• 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
Left mouse events in a window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Left mouse events in a window


  • Subject: Left mouse events in a window
  • From: Matthew Smith <email@hidden>
  • Date: Mon, 30 Sep 2002 11:46:22 +1000

Hello,

I need to know when the user as created mouse down and mouse up events in my window, and am overriding the sendEvent method in NSApp and switching on the event type...

Strangely, left mouse up and left mouse dragged events do not occur if the click starts in the content area of my window while it has focus, but all other mouse events do (rightUp, rightDragged, OtherUp, OtherDragged etc)...

Could it be that my window content view has an NSImageView attached that is the size of the content view, and this NSImageView is some how effecting the events???

Any help would be great...

Cheers,

Matt
_______________________________________________
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: NSBezierPath Problems
  • Next by Date: Re: [newbie] Handling a preferences window
  • Previous by thread: Re: NSBezierPath Problems
  • Next by thread: NSFileHandle readInBackgroundAndNotify
  • Index(es):
    • Date
    • Thread