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]