| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
Hi all, Does anybody know how we can load a pict data located “.rsrc”
file to a “picture” control in Xcode? I know that I can use GetPicture()
or Get1Resource() to get a handle of that picture and use SetControlData() to
assign it to control, but the problem is that these APIs return null for picture
handler. I tried to create a Carbon App in Xcode 2.1 and added a “picture”
control in its main window in IB, as soon as I assign the Resource ID of my picture
file in inspector window in IB, my picture appears in control, but when I
compile/run my program, the picture control doesn’t show that picture any
more. The resource data file is in project under “Resources” but
somehow it seems not accessible during runtime, anybody has any idea what could
be wrong or missed here? Regards, Kamran |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.