Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!hobbes.physics.uiowa.edu!ns-mx!piquet.cipl.uiowa.edu!wolf From: wolf@piquet.cipl.uiowa.edu (Michael J. Wolf) Newsgroups: comp.sys.mac.programmer Subject: Correct way in Dialog to set Icons on the fly Message-ID: <6706@ns-mx.uiowa.edu> Date: 28 Jun 91 13:01:10 GMT Sender: news@ns-mx.uiowa.edu Organization: Cardiovascular Image Processing Laboratory, U of Iowa Lines: 16 What is the proper way to set and change ICON dilaog items? I would like to use the same dialog template but set the ICONs as I go (ie, just before or while the dialog is visible). Should I get the ItemHandle, and go to the correct offset (something like 10 bytes from where the handle points) and manual modify this integer to the ID of the ICON I want to be displayed now. Afterward do a draw dialog? Is this acceptable and does this work? Thanks Michael