# C1.Util.Win.Win32.ScrollWindowEx

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_Win_Win32_ScrollWindowEx_" data-uid="C1.Util.Win.Win32.ScrollWindowEx*">ScrollWindowEx Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_Win_Win32_ScrollWindowEx_" data-uid="C1.Util.Win.Win32.ScrollWindowEx*"></a>
<h4 id="C1_Util_Win_Win32_ScrollWindowEx_System_IntPtr_System_Int32_System_Int32_C1_Util_Win_Win32_RECT__C1_Util_Win_Win32_RECT__System_IntPtr_System_IntPtr_System_UInt32_" data-uid="C1.Util.Win.Win32.ScrollWindowEx(System.IntPtr,System.Int32,System.Int32,C1.Util.Win.Win32.RECT@,C1.Util.Win.Win32.RECT@,System.IntPtr,System.IntPtr,System.UInt32)">ScrollWindowEx(nint, int, int, ref RECT, ref RECT, nint, nint, uint)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static extern int ScrollWindowEx(nint hWnd, int dx, int dy, ref Win32.RECT rcScroll, ref Win32.RECT rcClip, nint hrgnUpdate, nint rcUpdate, uint flags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function ScrollWindowEx(hWnd As IntPtr, dx As Integer, dy As Integer, ByRef rcScroll As Win32.RECT, ByRef rcClip As Win32.RECT, hrgnUpdate As IntPtr, rcUpdate As IntPtr, flags As UInteger) As Integer</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">hWnd</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">dx</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">dy</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.Win.Win32.html">Win32</a>.<a class="xref" href="C1.Util.Win.Win32.RECT.html">RECT</a></td>
      <td><span class="parametername">rcScroll</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.Win.Win32.html">Win32</a>.<a class="xref" href="C1.Util.Win.Win32.RECT.html">RECT</a></td>
      <td><span class="parametername">rcClip</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">hrgnUpdate</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">rcUpdate</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></td>
      <td><span class="parametername">flags</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_Win_Win32_ScrollWindowEx_" data-uid="C1.Util.Win.Win32.ScrollWindowEx*"></a>
<h4 id="C1_Util_Win_Win32_ScrollWindowEx_System_IntPtr_System_Int32_System_Int32_C1_Util_Win_Win32_RECT__C1_Util_Win_Win32_RECT__System_IntPtr_C1_Util_Win_Win32_RECT__System_Int32_" data-uid="C1.Util.Win.Win32.ScrollWindowEx(System.IntPtr,System.Int32,System.Int32,C1.Util.Win.Win32.RECT@,C1.Util.Win.Win32.RECT@,System.IntPtr,C1.Util.Win.Win32.RECT@,System.Int32)">ScrollWindowEx(nint, int, int, ref RECT, ref RECT, nint, ref RECT, int)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static extern int ScrollWindowEx(nint hWnd, int dx, int dy, ref Win32.RECT prcScroll, ref Win32.RECT prcClip, nint hrgnUpdate, ref Win32.RECT prcUpdate, int flags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function ScrollWindowEx(hWnd As IntPtr, dx As Integer, dy As Integer, ByRef prcScroll As Win32.RECT, ByRef prcClip As Win32.RECT, hrgnUpdate As IntPtr, ByRef prcUpdate As Win32.RECT, flags As Integer) As Integer</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">hWnd</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">dx</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">dy</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.Win.Win32.html">Win32</a>.<a class="xref" href="C1.Util.Win.Win32.RECT.html">RECT</a></td>
      <td><span class="parametername">prcScroll</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.Win.Win32.html">Win32</a>.<a class="xref" href="C1.Util.Win.Win32.RECT.html">RECT</a></td>
      <td><span class="parametername">prcClip</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">hrgnUpdate</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.Win.Win32.html">Win32</a>.<a class="xref" href="C1.Util.Win.Win32.RECT.html">RECT</a></td>
      <td><span class="parametername">prcUpdate</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">flags</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
