• 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: mouseDown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mouseDown


  • Subject: Re: mouseDown
  • From: Greg Herlihy <email@hidden>
  • Date: Fri, 10 Mar 2006 13:16:30 -0800
  • Thread-topic: mouseDown

If clicking the right button is calling mouseDown: (and not calling
rightMouseDown) then the mouse is not properly configured to send a right
click event when its right button is clicked (it's probably sending a
control-click instead). Therefore, you should open the preference pane for
your mouse and configure it so that clicking the right button sends a right
click.

Greg


On 3/10/06 1:14 PM, "Alan Smith" <email@hidden> wrote:

> Yeah, I did that. But it still stops on the nslog. Argh! It's very
> frustrating.
>
> Thanks everyone, Alan
>
> On 3/10/06, Greg Herlihy < email@hidden <mailto:email@hidden> >
> wrote:
>> I think implementing:
>>
>>    - (void)rightMouseDown:(NSEvent *)theEvent
>>
>> instead of mouseDown: will work better.
>>
>> Greg
>>
>>
>> On 3/10/06 11:08 AM, "Alan Smith" <email@hidden> wrote:
>>
>>> > WellÅ  now when I click the button the debugger doesn't even go into the
>>> > method, suggesting that it never gets the message.
>>> >
>>> > Argh! But thanks for the help Nick, Alan
>>> >
>>> > On 3/10/06, Nick Zitzmann <email@hidden > wrote:
>>>> >>
>>>> >>
>>>> >> On Mar 10, 2006, at 10:28 AM, Alan Smith wrote:
>>>> >>
>>>>> >>> How to show a window when a subclass of
>>>>> >>> NSView is right clicked.
>>>> >>
>>>> >> < http://developer.apple.com/documentation/Cocoa/Reference/
>>>> >> ApplicationKit/ObjC_classic/Classes/NSResponder.html#//apple_ref/occ/
>>>> >> instm/NSResponder/rightMouseDown:>
>>>> >>
>>>> >> Nick Zitzmann
>>>> >> <http://www.chronosnet.com/>
>>>> >>
>>>> >>
>>>> >>
>>> >  _______________________________________________
>>> > Do not post admin requests to the list. They will be ignored.
>>> > Cocoa-dev mailing list      (email@hidden)
>>> > Help/Unsubscribe/Update your Subscription:
>>> >
>>> > This email sent to email@hidden
>>
>>
>
>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: mouseDown (From: "Alan Smith" <email@hidden>)

  • Prev by Date: Re: mouseDown
  • Next by Date: Re: bindings resize rowHeight problem in NSTableView
  • Previous by thread: Re: mouseDown
  • Next by thread: -[NSBundle pathForResource:ofType:inDireoctory:] leaks?
  • Index(es):
    • Date
    • Thread