Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting a property for a Databrowser element



On Thu, 8 Jun 2006 11:05:24, Rosyna <email@hidden> wrote:

> Here's an example of a test case I made that I ended up not using.
> 
> else if (0 and property==kDataBrowserItemIsActiveProperty)
> {
> HIViewRef focusedControl=NULL;
> err=GetKeyboardFocus(HIViewGetWindow(browser),
> &focusedControl);
> if (!err and (!focusedControl or !CFEqual(browser,
> focusedControl)))
> {
> .....

What benefits to use CFEqual here instead of just == ?

Mike

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: setting a property for a Databrowser element (From: Rosyna <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.