• 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
Re: kAXPositionAttribute and kAXSizeAttribute
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kAXPositionAttribute and kAXSizeAttribute


  • Subject: Re: kAXPositionAttribute and kAXSizeAttribute
  • From: spiderlama <email@hidden>
  • Date: Thu, 19 Jul 2007 20:16:24 +1000

On 19/07/2007, at 7:40 PM, Bill Cheeseman wrote:

on 2007-07-18 10:31 PM, spiderlama at email@hidden wrote:

AXUIElementCopyAttributeValue(dock, kAXChildrenAttribute,
(CFTypeRef*)&array);

In a couple of places you do something like that. Shouldn't the last part be
'(CFTypeRef)&array'? A CFTypeRef is already a pointer and doesn't need the
star.

I don't think so. The function AXUIElementCopyAttributeValue's third argument is a "CFTypeRef*", as from the Apple documentation for AXUIElement.h.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: kAXPositionAttribute and kAXSizeAttribute
      • From: Bill Cheeseman <email@hidden>
References: 
 >Re: kAXPositionAttribute and kAXSizeAttribute (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Accessing JSP file from widget
  • Next by Date: Re: kAXPositionAttribute and kAXSizeAttribute
  • Previous by thread: Re: kAXPositionAttribute and kAXSizeAttribute
  • Next by thread: Re: kAXPositionAttribute and kAXSizeAttribute
  • Index(es):
    • Date
    • Thread