• 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
".rsrc" file in Xcode 2.1 and pict control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

".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

  • Follow-Ups:
    • Re: ".rsrc" file in Xcode 2.1 and pict control
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Re: compile errors for Xcode 2.0: AbsoluteTime
  • Next by Date: Re: [OT] Using ObjectAlloc or MallocDebug on a Dashboard widget
  • Previous by thread: Re: Xcode 2.1 ignores cached precompiled header
  • Next by thread: Re: ".rsrc" file in Xcode 2.1 and pict control
  • Index(es):
    • Date
    • Thread