Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Picture control and changing the picture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Picture control and changing the picture




On Oct 2, 2005, at 6:51 PM, Mr Andrew Gillanders wrote:

I tried to change the picture like this...

error = SetControlData (controlReference,
kControlPicturePart,
        kControlPictureHandleTag, sizeof
(PicHandle), gPictureHandle);


That should be &gPictureHandle. Think about how SetControlData has to work in general: You pass the size and address of some data. If the data is a handle, then the address is the address of the handle.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to email@hidden

References: 
 >Picture control and changing the picture (From: Mr Andrew Gillanders <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.