# C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper" data-uid="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper" class="text-break">WindowWrapper Class
</h1>
  <div class="markdown level0 summary"><p>Defines a virtual windows to help the operation of the <a class="xref" href="C1.Win.C1Input.GrapeCity.Framework.Input.Ime.html">Ime</a>.</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"><span class="xref">WindowWrapper</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Win.C1Input.GrapeCity.Framework.Input.IMessageWindow.html">IMessageWindow</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1Input.GrapeCity.Framework.Input.html">C1.Win.C1Input.GrapeCity.Framework.Input</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class WindowWrapper : IMessageWindow, IWin32Window, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class WindowWrapper
    Implements IMessageWindow, IWin32Window, IDisposable</code></pre>
  </div>
  <h5 id="C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This class only send message to the IMessageProcessor.PerProcess methods.</p>
</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_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper__ctor" data-uid="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.#ctor">
          <a class="xref" href="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.-ctor.html#C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper__ctor">WindowWrapper()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.html">WindowWrapper</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_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_FactWindow" data-uid="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.FactWindow">
          <a class="xref" href="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.FactWindow.html#C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_FactWindow">FactWindow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the fact window.</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_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_Dispose" data-uid="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.Dispose">
          <a class="xref" href="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.Dispose.html#C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Hang up the link between this class and the Application.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_GetAssociatedWindowHandle" data-uid="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.GetAssociatedWindowHandle">
          <a class="xref" href="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.GetAssociatedWindowHandle.html#C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_GetAssociatedWindowHandle">GetAssociatedWindowHandle()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the associated window handle that related to the FactWindow instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_GetHookHandle" data-uid="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.GetHookHandle">
          <a class="xref" href="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.GetHookHandle.html#C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_GetHookHandle">GetHookHandle()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the hook handle from the FactWindow.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_OnFactWindowChanged_System_EventArgs_" data-uid="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.OnFactWindowChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.OnFactWindowChanged.html#C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_OnFactWindowChanged_System_EventArgs_">OnFactWindowChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.FactWindowChanged.html">FactWindowChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_PostProcessMessage_System_Windows_Forms_Message__" data-uid="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.PostProcessMessage(System.Windows.Forms.Message@)">
          <a class="xref" href="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.PostProcessMessage.html#C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_PostProcessMessage_System_Windows_Forms_Message__">PostProcessMessage(ref Message)</a>
        </td>
        <td class="markdown level1 summary"><p>Dispatch the message to the processsor.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_PreProcessMessage_System_Windows_Forms_Message__" data-uid="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.PreProcessMessage(System.Windows.Forms.Message@)">
          <a class="xref" href="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.PreProcessMessage.html#C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_PreProcessMessage_System_Windows_Forms_Message__">PreProcessMessage(ref Message)</a>
        </td>
        <td class="markdown level1 summary"><p>Dispatch the message to the processsor.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_FactWindowChanged" data-uid="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.FactWindowChanged">
          <a class="xref" href="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.FactWindowChanged.html">FactWindowChanged</a>
        </td>
        <td class="markdown level1 summary"><p>A event raised when the value of <a class="xref" href="C1.Win.C1Input.GrapeCity.Framework.Input.WindowWrapper.FactWindow.html#C1_Win_C1Input_GrapeCity_Framework_Input_WindowWrapper_FactWindow">FactWindow</a> property is changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
