Controls are positioned in font units. The width of a font unit is the width occupied by a single digit within a dialog box. The height of a font unit is the maximum of button and text box heights. The origin of a dialog box’s coordinate system is at its top left hand corner with Y values increasing downward.