That's waht happened.
Start by setting the last two parameters of SETBELOWITEM and SETRIGHTITEM to 0,0.
SETRIGHTITEM(dialog, #, #, 0, 0);
SETBELOWITEM(dialog, #, #, 0, 0);
The shift is additive. If you shift one control the other will automaticall move with it. If you want to move back to the start you have to shift the control in the negative direction.
Don't know what the control ID's are for the dialog but the best layout is to set all the controls on the left below each other then set the controls on the right of the control on the left.