jtn@ADS.COM (John T. Nelson) (05/01/91)
Sigh. I have a dialog that I instantiate from a resource file. After popping up the dialog I then try to move the various items on the dialog around with MoveControl() and then once the items on the dialog are in the right place, I display the dialog (make it visible). Problem is that the items I am trying to move are not controls exactly... they are static text items. MoveControl bombs big time when I attempt to move a text field like this: MoveControl((Controlhandle) handle, y, x); /* Move text field (x,y) */ Should I be using SetDItem instead and will this move the text field on the dialog like so? rect.top = x; rect.left = y; SetDItem(dialogPtr, itemNo, type, somethingelse, rect); This is a sticky problem because I want to pop up this "alert thing" (which is actually a DLOG resource) and make it customizable at run time. It isn't possible to make many different alerts for each case since there are too many cases. Neat problem.... but anybody know how to do it?