hwnd (HWND) - input

      Window handle.

    lDx (LONG) - input

      Amount of horizontal scroll to the right (in device units).

    lDy (LONG) - input

      Amount of vertical scroll upward (in device units).

    prclScroll (PRECTL) - input

      Scroll rectangle.

      If this is NULL, the entire window is scrolled.

      Note: The value of each field in this structure must be in the range -32 768 through 32 767. The data type WRECT may also be used, if supported by the language.

    prclClip (PRECTL) - input

      Clip rectangle.

      If not NULL, this defines a clip rectangle that clips the destination of the scroll.

    hrgnUpdateRgn (HRGN) - input

      Update region.

      If not NULLHANDLE, this contains the region uncovered by the scroll when returned.

    prclUpdate (PRECTL) - in/out

      Update rectangle.

      If not NULL, this contains the bounding rectangle of the invalid bits uncovered by the scroll when returned.

    flOptions (ULONG) - input

      Scroll options.

      SW_SCROLLCHILDREN

        Unless this is set, child windows are not scrolled. If this is set, and prclScroll is NULL, all the child windows are scrolled by lDx and lDy units. If prclScroll is not NULL, only those child windows that intersect prclScroll are scrolled.
      SW_INVALIDATERGN
        The invalid region created as a result of the scroll is added to the update regions of those windows affected. This may result in sending WM_PAINT messages to CS_SYNCPAINT windows before the call returns.

      lComplexity (LONG) - returns

        Complexity of resulting region/error indicator.

        RGN_NULL

          NULL rectangle invalid
        RGN_RECT
          Simple rectangle invalid
        RGN_COMPLEX
          Complex rectangle invalid
        RGN_ERROR
          Error.


        [Back] [Next]