pFormatRect (PPOINTL)

      New format dimensions.

      NULL

        A null value sets both dimensions to the current window size.
      other
        The structure is a pair of LONGs designating the diagonally-opposite corner of the rectangle, assuming 0,0 for the first. Therefore, they are the width and height in pels of the format rectangle. These dimensions are used as the word-wrap and text-size limiting boundaries. Negative values for either dimension cause the MLE to substitute the current window size (the MLE window rectangle minus margins).

        If the rectangle specified has either, or both, of the limits set, and the size is inadequate to contain the text, rc is set to FALSE and the rectangle dimensions are replaced with the overflow amounts.


      [Back] [Next]