05-22-2007, 09:55 AM #1
Ways to tell the difference between a Cocoa app and a Carbon app
- Member Since
- Nov 27, 2006
- Power Mac G5 Dual 1.8 GHz
So far, these are the ways I know:
-Cocoa apps' context menu for text always has
Cut, Copy, Paste, Spelling, Font, Speech, Writing Direction, Look Up in Dictionary, etc.
e.g.: In the Finder, being a Carbon app, the Search box does not have a context menu.
(Well, it does, but it's for the Search box toolbar item, not the for the text).
Furthermore, when you rename a file/folder, there is no context menu.
-Cocoa apps' toolbar buttons are click-through; Carbon apps' toolbar buttons are not.
Click-through means being able to click on a button of a window you are not currently focused in.
You're in a Safari window, and you see another Safari window in the back.
Since Safari is Cocoa, its toolbar buttons are click-through,
so you can click the toolbar buttons of the background window even though you're not focused on that window.
(a little aside: Here's an article on click-through.)
Anyone know of other ways to tell the difference?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By dede94 in forum OS X - Development and DarwinReplies: 7Last Post: 05-16-2012, 09:01 AM
By OneMoreThing... in forum Apple Rumors and ReportsReplies: 0Last Post: 07-16-2011, 09:42 PM
By stompeers in forum OS X - Development and DarwinReplies: 4Last Post: 02-15-2011, 12:55 PM
By nglie in forum OS X - Development and DarwinReplies: 1Last Post: 04-22-2010, 07:28 PM
By HYGSBM in forum OS X - Development and DarwinReplies: 2Last Post: 09-30-2008, 11:47 PM