///
/// Copyright © 2003-2008 JetBrains s.r.o.
/// You may distribute under the terms of the GNU General Public License, as published by the Free Software Foundation, version 2 (see License.txt in the repository root folder).
///
using System;
namespace JetBrains.Interop.WinApi
{
///
/// Flags for the , functions.
///
[Flags]
public enum ScrollWindowFlags : uint
{
///
/// Erases the newly invalidated region by sending a WM_ERASEBKGND message to the window when specified with the SW_INVALIDATE flag.
///
SW_ERASE,
///
/// Invalidates the region identified by the hrgnUpdate parameter after scrolling.
///
SW_INVALIDATE,
///
/// Scrolls all child windows that intersect the rectangle pointed to by the prcScroll parameter. The child windows are scrolled by the number of pixels specified by the dx and dy parameters. The system sends a WM_MOVE message to all child windows that intersect the prcScroll rectangle, even if they do not move.
///
SW_SCROLLCHILDREN,
///
/// Windows 98/Me, Windows 2000/XP: Scrolls using smooth scrolling. Use the HIWORD portion of the flags parameter to indicate how much time the smooth-scrolling operation should take.
///
SW_SMOOTHSCROLL,
}
}