[futurebasic] Re: [FB] Help with FB/PG PICT and TEXT resources

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 1999 : Group Archive : Group : All Groups

From: "Dennis J. Fast" <dfast@...>
Date: Sat, 29 May 1999 12:33:43 -0700
>----------
>From: 	Chris Pereira[SMTP:nidus@...

>Can I assume that you are trying to display a given PICT resource (say PICT
>ID=200) and a corresponding STR# resource (STR# ID=200), and that these
>resources will be available in a single resource file? If this is the case
>then I have some code that can do this.
 ===============

Yes (and)  No (and) Yes
 STR# sizes are too small. Sometimes the narratives are a page in length.

================
Single rsrc file.

PICT ID = 170

TEXT ID (and) styl ID = 170

I have now managed to view the correct PICT.

used:

myPict& =  FN GETPICTURE(170)
myRect:8 = [myPict&] + _picFrame
PICTURE FIELD(1),&myPict&,@myRect,7,1

Am working on the TEXT,styl  to view.

NOT WORKING:

textHandle = FN GETINDRESOURCE(_"TEXT",170)
EDIT FIELD(1),&textHandle&,,,

ALSO NOT WORKING:

textHandle = FN GETINDRESOURCE(_"TEXT",170)
EDIT$(1) = &textHandle&