Path: utzoo!attcan!uunet!tektronix!reed!lclark!dan From: dan@lclark.UUCP (Dan Revel) Newsgroups: comp.sys.mac.programmer Subject: Updating dialogs Keywords: update dialog icon Message-ID: <373@lclark.UUCP> Date: 5 Jan 89 19:18:51 GMT Organization: Lewis & Clark College, Portland OR Lines: 22 What's the best way to update a non-modal dialog after changing one of its dialog items? Here's my problem: I want to display differing icons in response to user radio button selections, right now I call DrawDialog(...) to redraw the whole window but that causes everything to flicker and I would rather just redraw the icon I have changed. I tried just using InvalRect on the rect returned by GetDItem but to no update event is generated... Here's a synopsis of the code I have now: GetDItem(...); SetDItem(...); DrawDialog(...); (BTW: I'm using MPW Pascal although I don't think it matters in this case) Thanks for your help! Dan -- dan@lclark tektronix!reed!lclark!dan Dylsexics untie! (-|