Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Proof that this hint is valid' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Proof that this hint is valid
Authored by: nichrome on Jun 12, '03 01:03:21PM

Some, such as "sgi oh too" and "alexf" have claimed that this hint is somehow invalid. That's not true.

Cocoa, which is based on the OpenStep specification, fully supports right click events. Carbon doesn't have full support. This is why this hint is Cocoa specific.

If you think right clicks are just control-leftclicks, do this to prove yourself wrong:
1. Double-rightclick the title bar in any Cocoa app. Nothing.
2. Hold down control and double-leftclick the title bar. Window minimizes.

Or, if you think that Mac OS X just registers a "simulclick" as a left click followed by a right click (or vice versa):
1. In any Cocoa app, click with the left button, then click with the right button, in rapid succession. Nothing.
2. Click the buttons simultaneously or at least almost simultaneously. Window minimizes.

Note that the two clicks of the "simulclick" don't need to be in perfect sync, but the window in which you need to depress both mouse buttons is much shorter than the double click speed set in the Mouse prefpane.

To Cocoa, control-clicking and right-clicking are not the same, and also clicking the buttons in succession is not the same as clicking them roughly simultaneously.

I hope this clears up a few things about OpenStep style mouse button behavior...



[ Reply to This | # ]
Proof that this hint is valid
Authored by: JayBee on Jun 12, '03 01:49:02PM

Interestingly, try right clicking THEN left clicking the title bar like a double click...

window minimizes!



[ Reply to This | # ]