Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!mit-eddie!media-lab!gslee From: gslee@media-lab.MEDIA.MIT.EDU (Gene Lee) Newsgroups: comp.sys.mac.programmer Subject: Moving Push Buttons In a Dialog Keywords: Buttons Dialog Message-ID: <5373@media-lab.MEDIA.MIT.EDU> Date: 26 Feb 91 17:37:02 GMT Organization: MIT Media Lab, Cambridge, MA Lines: 17 How can one successfully move a push button or any other control within a dialog box. When I called MoveControl and SetDItem to move my button, it seemed to work, but ModalDialog doesn't seem to recognize them. Does anyone know what I did wrong? Inside Mac suggests that I don't call SetDItem, but when I don't call it the control's rectangle doesn't change. Any example code would be very helpfull. Thanks. -G. Lee gslee@media-lab.media.mit.edu