Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Apps and Programs
Ways to tell the difference between a Cocoa app and a Carbon app
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="remain" data-source="post: 399218" data-attributes="member: 23182"><p>So far, these are the ways I know:</p><p></p><p>-Cocoa apps' context menu for text always has </p><p>Cut, Copy, Paste, Spelling, Font, Speech, Writing Direction, Look Up in Dictionary, etc.</p><p></p><p>e.g.: In the Finder, being a Carbon app, the Search box does not have a context menu. </p><p>(Well, it does, but it's for the Search box toolbar item, not the for the text).</p><p>Furthermore, when you rename a file/folder, there is no context menu.</p><p></p><p></p><p>-Cocoa apps' toolbar buttons are click-through; Carbon apps' toolbar buttons are not.</p><p></p><p>Click-through means being able to click on a button of a window you are not currently focused in.</p><p>e.g.: </p><p>You're in a Safari window, and you see another Safari window in the back.</p><p>Since Safari is Cocoa, its toolbar buttons are click-through, </p><p>so you can click the toolbar buttons of the background window even though you're not focused on that window.</p><p></p><p>(a little aside: Here's <a href="http://daringfireball.net/2003/05/the_problems_with_clickthrough" target="_blank">an article</a> on click-through.)</p><p></p><p>Anyone know of other ways to tell the difference?</p></blockquote><p></p>
[QUOTE="remain, post: 399218, member: 23182"] 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. e.g.: 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 [url=http://daringfireball.net/2003/05/the_problems_with_clickthrough]an article[/url] on click-through.) Anyone know of other ways to tell the difference? [/QUOTE]
Verification
What is Apple's smallest desktop computer called?
Post reply
Forums
Apple Computing Products:
macOS - Apps and Programs
Ways to tell the difference between a Cocoa app and a Carbon app
Top