pOldNew (PRECTL)

      Window-rectangle structures.

      This points to two RECTL structures. The first structure contains the rectangle of the window before the move, the second contains the rectangle of the window after the move. The coordinates of the rectangles are relative to the parent window.

    pNew (PSWP)

      New window position.

      This points to a SWP structure that contains information about the window after it is resized (see the WinSetWindowPos function).

    usAlign (USHORT)

      Alignment control.

      This instructs WinSetWindowPos how to align valid window bits. This value is made up from CVR_* flags, as follows:

      CVR_ALIGNLEFT

        Align with the left edge of the window.
      CVR_ALIGNBOTTOM
        Align with the bottom edge of the window.
      CVR_ALIGNTOP
        Align with the top edge of the window.
      CVR_ALIGNRIGHT
        Align with the right edge of the window.
      CVR_REDRAW
        The whole window is invalid. If CVR_REDRAW, is set, the whole window is assumed invalid, otherwise, the remaining flags can be ORed together to get different kinds of alignment. For example:
        (CVR_ALIGNLEFT | CVR_ALIGNTOP)
        aligns the valid window area with the top-left of the window.
      0
        It is assumed the application has changed the rectangles pointed to by pOldNew and pNew itself.


      [Back] [Next]