Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!ncar!news.miami.edu!umiami!dweisman From: dweisman@umiami.ir.miami.edu (Ordinary Man) Newsgroups: comp.sys.mac.programmer Subject: Drawing direct to a dialog window... Message-ID: <1991May15.131300.9898@umiami.ir.miami.edu> Date: 15 May 91 17:12:59 GMT Organization: Univ of Miami IR Lines: 20 Is it safe/recommended to draw to a dialog window as if it was a window? I mean I have no userItems in my dialog; I just set the port to the dialog after I create it and draw all sorts of things in it as if it was a window. No problems. I even utilize the ModalDialog's filter function to do some realtime animation in the dialog. No problems still. Is this bad? Also then, what are userItem's good for then? Why not just draw everything straight to the port? (naive question, I know, but just want to get everything out in the open). Thanks, Dan /-------------------------------------------------------------------------\ | Dan Weisman - University of Miami - Florida | || || || || | |--------------------------------------------------| || || ||\ /|| | | INTERNET -----> dweisman@umiami.IR.Miami.edu | || || || | || | | BITNET -----> dweisman@umiami | ||||||| || | || | |-------------------------------------------------------------------------| | "The more I get to see, the less I understand..." - Triumph | \_________________________________________________________________________/