Not sure what is causing this, but when Edit a custom dialog, the controls are moved down and right when the script is run.
For example, I might place static text, say XYZ in the very center of the screen, then compile and run the script. When the dialog appears, XYZ is now lower and further right than when viewed in the dialog editor.
Since this is the case, I cannot place any controls within about an inch from the right edge because when the script runs, it is pushed off the right side.
Any ideas?