Using Form Dimensions

Because display sizes differ, it is often useful to specify a position as a percentage of the dimensions of the form, as shown in the following code example.

   CONTROL "Hello", IDC_CTRL_HELLO,"APC_Label:",
   ASFC_ALIGN_LEFT|ASFC_ALIGN_SINGLELINE
   BEGIN
      FA_LEFT_OF_FORM,
      FA_RIGHT_FRACTION, 50   // Places the right edge of the control
                              // in the middle of the form.
      ...
   END