Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!world!barry From: barry@world.std.com (Barry L Wolman) Newsgroups: comp.sys.mac.programmer Subject: Hiliteing Text Items in Dialogs Summary: How does one hilite a text item in a dialog? Keywords: dialog grey hilite Message-ID: <1991May24.040412.6929@world.std.com> Date: 24 May 91 04:04:12 GMT Organization: The World Public Access UNIX, Brookline, MA Lines: 20 I've got a dialog box that contains several static and edit text fields that I'd like to "grey out" or show normally depending on what user selects from a set of radio buttons. Is there a simple equivalent to HiliteControl that can be used with text fields? If it would be easier, I'd be willing to make the text fields visible or invisible. Would it be "cheating" to arrange for these fields to have the last N item numbers and include or omit them from the DITL by setting the item count in the first two bytes of the DITL resource? If this approach works, is it possible to patch the DITL while the dialog is active? Any tips, suggestions, code fragments, etc. will be greatly appreciated. Thanks, Barry Wolman -- Barry Wolman 159 Oxbow Road Needham, MA 02192 617-449-3874