# C1.Framework.Forms.SubclassNativeWindow

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_Forms_SubclassNativeWindow" data-uid="C1.Framework.Forms.SubclassNativeWindow" class="text-break">SubclassNativeWindow Class
</h1>
  <div class="markdown level0 summary"><p>Represents a subclass window wrapper class.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><span class="xref">SubclassNativeWindow</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.Forms.html">C1.Framework.Forms</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Framework_Forms_SubclassNativeWindow_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SubclassNativeWindow : MarshalByRefObject, IWin32Window</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SubclassNativeWindow
    Inherits MarshalByRefObject
    Implements IWin32Window</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Framework_Forms_SubclassNativeWindow__ctor" data-uid="C1.Framework.Forms.SubclassNativeWindow.#ctor">
          <a class="xref" href="C1.Framework.Forms.SubclassNativeWindow.-ctor.html#C1_Framework_Forms_SubclassNativeWindow__ctor">SubclassNativeWindow()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.Forms.SubclassNativeWindow.html">SubclassNativeWindow</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Framework_Forms_SubclassNativeWindow_Handle" data-uid="C1.Framework.Forms.SubclassNativeWindow.Handle">
          <a class="xref" href="C1.Framework.Forms.SubclassNativeWindow.Handle.html#C1_Framework_Forms_SubclassNativeWindow_Handle">Handle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the handle to the window represented by the <a class="xref" href="C1.Framework.Forms.SubclassNativeWindow.html">SubclassNativeWindow</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Framework_Forms_SubclassNativeWindow_AssignHandle_System_IntPtr_" data-uid="C1.Framework.Forms.SubclassNativeWindow.AssignHandle(System.IntPtr)">
          <a class="xref" href="C1.Framework.Forms.SubclassNativeWindow.AssignHandle.html#C1_Framework_Forms_SubclassNativeWindow_AssignHandle_System_IntPtr_">AssignHandle(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Attaches handle to target window.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Forms_SubclassNativeWindow_DefWndProc_System_Windows_Forms_Message__" data-uid="C1.Framework.Forms.SubclassNativeWindow.DefWndProc(System.Windows.Forms.Message@)">
          <a class="xref" href="C1.Framework.Forms.SubclassNativeWindow.DefWndProc.html#C1_Framework_Forms_SubclassNativeWindow_DefWndProc_System_Windows_Forms_Message__">DefWndProc(ref Message)</a>
        </td>
        <td class="markdown level1 summary"><p>Invokes the default window procedure associated with this window.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Forms_SubclassNativeWindow_OnHandleChange" data-uid="C1.Framework.Forms.SubclassNativeWindow.OnHandleChange">
          <a class="xref" href="C1.Framework.Forms.SubclassNativeWindow.OnHandleChange.html#C1_Framework_Forms_SubclassNativeWindow_OnHandleChange">OnHandleChange()</a>
        </td>
        <td class="markdown level1 summary"><p>Notifies that the handle is changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Forms_SubclassNativeWindow_OnThreadException_System_Exception_" data-uid="C1.Framework.Forms.SubclassNativeWindow.OnThreadException(System.Exception)">
          <a class="xref" href="C1.Framework.Forms.SubclassNativeWindow.OnThreadException.html#C1_Framework_Forms_SubclassNativeWindow_OnThreadException_System_Exception_">OnThreadException(Exception)</a>
        </td>
        <td class="markdown level1 summary"><p>Notifies inner exception occurs when processing window message.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Forms_SubclassNativeWindow_ReleaseHandle" data-uid="C1.Framework.Forms.SubclassNativeWindow.ReleaseHandle">
          <a class="xref" href="C1.Framework.Forms.SubclassNativeWindow.ReleaseHandle.html#C1_Framework_Forms_SubclassNativeWindow_ReleaseHandle">ReleaseHandle()</a>
        </td>
        <td class="markdown level1 summary"><p>Releases the handle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Forms_SubclassNativeWindow_WndProc_System_Windows_Forms_Message__" data-uid="C1.Framework.Forms.SubclassNativeWindow.WndProc(System.Windows.Forms.Message@)">
          <a class="xref" href="C1.Framework.Forms.SubclassNativeWindow.WndProc.html#C1_Framework_Forms_SubclassNativeWindow_WndProc_System_Windows_Forms_Message__">WndProc(ref Message)</a>
        </td>
        <td class="markdown level1 summary"><p>Invokes the window procedure associated with this window.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
