".rsrc" file in Xcode 2.1 and pict control
".rsrc" file in Xcode 2.1 and pict control
- Subject: ".rsrc" file in Xcode 2.1 and pict control
- From: Kamran Kamkari <email@hidden>
- Date: Wed, 29 Jun 2005 11:30:23 -0400
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:
This email sent to email@hidden