Path: utzoo!attcan!uunet!blkcat!f421.n109.z1.fidonet.org!Steve.Ihde From: Steve.Ihde@f421.n109.z1.fidonet.org (Steve Ihde) Newsgroups: comp.sys.mac.programmer Subject: Re:yet Another Question Message-ID: <827.25FF83CE@blkcat.fidonet.org> Date: 10 Mar 90 00:02:41 GMT Sender: ufgate@blkcat.fidonet.org (newsout1.26) Organization: FidoNet node 1:109/421 - The Twilight Clone, Paul Heller Lines: 18 > I'm trying to use TextBox() to draw "grayed out" text, by first > making a call to PenPat(gray). Since the text is still black, I > surmise TE doesn't bother looking at the GrafPort's pen to determine > is drawing characteristics. Question--is there and easy way to > draw gray text within a box? (I imagine DrawString would do the > graying, but IM says it doesn't bound to a rect.) Let the text be drawn normally, then PenPat(gray), PenMode(patBic) --that's BIt Clear--then PaintRect(itemRect), itemRect being the itemRect of the item you want grayed if it's in a dialog box, or just a Rect enclosing the text. -- Steve Ihde at The Black Cat's Shack (Fidonet 1:109/401) Internet: Steve.Ihde@f421.n109.z1.fidonet.org UUCP: ...!uunet!blkcat!421!Steve.Ihde