PICT resources no longer supported in Xcode 1.5?
PICT resources no longer supported in Xcode 1.5?
- Subject: PICT resources no longer supported in Xcode 1.5?
- From: robus <email@hidden>
- Date: Fri, 20 Aug 2004 03:59:52 +0200
Hi everybody
I have updated to Xcode 1.5.
Now I have problems with PICT resources (from Photoshop). Xcode's
add-to-project step first seems to work well, i.e. the PICTs correctly
appear in the NIB, but they are not displayed when the app is run.
Has something changed in the 1.5 update at this point? In the 1.2 days
all was working fine. Are there any newly added switches I should be
aware of?
I've been trying to track down this for days now, but had in no way any
success. So I greatly appreciate any help I can get.
Thanks in advance.
BTW, I'm using this command:
ControlButtonContentInfo info;
info.contentType = kControlContentPictRes;
info.u.resID = 128;
CreatePictureControl( windowRef, &pictCtlRect, &info, true,
&pictCtlRef );
I even tried this old approach and dug out my good old friend ResEdit:
PicHandle pictHdl = GetPicture( 128 );
if( pictHdl ) DrawPicture( pictHdl, &pictRect );
Also, if I set up a picture control / bevel button / image well in IB,
and drag the PICTs into them, then, in the running app, the controls
are just drawn **empty** (although in IB they do contain the PICTs!!).
If it's a 1.5 bug, what would be a workaround for displaying the PICTs
nonetheless? - Thanks.
Roland
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.