Path: utzoo!attcan!uunet!zephyr.ens.tek.com!tektronix!gvgpsa!gvgpvd!andyp From: andyp@gvgpvd.GVG.TEK.COM (Andy Peterman) Newsgroups: comp.sys.mac.programmer Subject: Re: Using the ictb resource Keywords: ictb, resource, resedit, dialog manager Message-ID: <1287@gvgpvd.GVG.TEK.COM> Date: 17 Oct 89 16:55:34 GMT References: <2168@unocss.UUCP> Reply-To: andyp@gvgpvd.GVG.TEK.COM (Andy Peterman) Organization: Grass Valley Group, Inc.; PVD Lines: 21 In article <2168@unocss.UUCP> payne@unocss.UUCP (Matt Payne) writes: >I have used ResEdit 1.2 to create a dctb resource that colors the dialog >box but, as I understand it, an ictb resource is needed to color the items >within the dialog box( the buttons, the static text, and the text edit boxes, >etc..). ResEdit 1.2 does not have ictb built in. Help! How can I >create this resource in my programs....... I'm also quite confused as to why >IM V would mention a resource that ResEdit does not know about? Take a look at the sample they give you on IM-V page 282. In ResEdit, you have to use the generic editor, which is what they show in the example. It's fairly easy, just create four bytes of zeros for each item in your DITL (use copy and paste) and then make the color control table or text style record for each item you want colored. Finally, put in the itemCData and itemCOffset information for each of these items, leaving the remaining zero. It would be impossible to create a ResEdit template to do this, although someone could probably write a special editor. I'm not sure its worth the trouble. Andy Peterman