• 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
[Cocoa-dev] Handling right click only
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cocoa-dev] Handling right click only


  • Subject: [Cocoa-dev] Handling right click only
  • From: Alexander Griekspoor <email@hidden>
  • Date: Tue, 14 Dec 2004 00:21:00 +0100

Hi all,

Some of you might have seen our funny little app called Disctop which projects your CD on your desktop. I want to add a few features including a contextual menu. Now Disctop's main window is set to ignore any mouse clicks right now and hovers between the desktop background and the icons of the finder. What I would like to achieve is that Disctop ONLY accepts the right mouse clicks and presents the contextual menu in that case, while ALL other events should be forwarded to any responder which comes next, including those in applications with windows below ours (read: the finder). Thus, I want to catch the right clicks but have the left clicks and drags be normally handled by the finder such that I can still move the desktop icons around.
Any clues?
Many thanks in advance!!
Cheers,
Alex
*********************************************************
** Alexander Griekspoor **
*********************************************************
The Netherlands Cancer Institute
Department of Tumorbiology (H4)
Plesmanlaan 121, 1066 CX, Amsterdam
Tel: + 31 20 - 512 2023
Fax: + 31 20 - 512 2029
AIM: email@hidden
E-mail: email@hidden
Web: http://www.mekentosj.com


              4Peaks - For Peaks, Four Peaks.
       2004 Winner of the Apple Design Awards
               Best Mac OS X Student Product
             http://www.mekentosj.com/4peaks

*********************************************************


********************************************************* ** Alexander Griekspoor ** ********************************************************* The Netherlands Cancer Institute Department of Tumorbiology (H4) Plesmanlaan 121, 1066 CX, Amsterdam Tel: + 31 20 - 512 2023 Fax: + 31 20 - 512 2029 AIM: email@hidden E-mail: email@hidden Web: http://www.mekentosj.com

Windows is a 32-bit patch to a 16-bit shell for an 8-bit
operating system, written for a 4-bit processor by a 2-
bit company without 1 bit of sense.

*********************************************************

_______________________________________________
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


  • Prev by Date: Cocoa Bindings and Java
  • Next by Date: How can I make Darwin see the most recent PHP from the shell prompt?
  • Previous by thread: Re: Cocoa Bindings and Java
  • Next by thread: How can I make Darwin see the most recent PHP from the shell prompt?
  • Index(es):
    • Date
    • Thread