Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!ub!uhura.cc.rochester.edu!rochester!pt.cs.cmu.edu!henry.ECE.CMU.EDU!hairston From: hairston@henry.ECE.CMU.EDU (David Hairston) Newsgroups: comp.sys.mac.programmer Subject: Re: moving dialog items... Message-ID: <12425@pt.cs.cmu.edu> Date: 20 Mar 91 03:21:14 GMT References: Organization: Gaia II Lines: 18 [gb2a+@andrew.cmu.edu (George J. Baxter) writes:] [] A question.. I've got a modeless dialog box with PICT resource items [] on it acting like buttons. I have one that I want to 'animate' in a [] crude way by having it move from one position to another and back again. [] I thought I'd be tricky and get the item's Rect, HideDItem, then change [] the Rect, then ShowDItem. [] Guess what, it didn't work. It wouldn't redraw the PICT, though the [] Rect did in fact move. However, upon a refresh with DialogSelect(), [] kaboomy. try MoveControl(theControl: ControlHandle; h,v: Integer); for further details: IM-I, Chap. 10, The Control Manager & Chap. 13, The Dialog Manager (basically there's a warning about using the dialog manager to do control manager stuff). -dave- hairston@henry.ece.cmu.edu