# GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxEditingControl.WndProc

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxEditingControl_WndProc_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxEditingControl.WndProc*">WndProc Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxEditingControl_WndProc_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxEditingControl.WndProc*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxEditingControl_WndProc_System_Windows_Forms_Message__" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxEditingControl.WndProc(System.Windows.Forms.Message@)">WndProc(ref Message)</h4>
<div class="markdown level1 summary"><p>Processes Windows messages.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override void WndProc(ref Message m)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Sub WndProc(ByRef m As Message)</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><span class="xref">Message</span></td>
      <td><span class="parametername">m</span></td>
      <td><p>The Windows System.Windows.Forms.Message to process.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.WndProc(ref System.Windows.Forms.Message)</span></div>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxEditingControl_WndProc_System_Windows_Forms_Message___remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
     All messages are sent to the <b>WndProc</b> method after getting filtered through the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control.preprocessmessage">PreProcessMessage(ref Message)</a> method.
     </p>
<p></p>
<p>
     The <b>WndProc</b> method corresponds exactly to the Windows WindowProc function. For more information about processing Windows messages, see the WindowProc function documentation in the Windows Platform SDK reference located in the MSDN library at http://msdn.microsoft.com/library.
     </p>
<p></p>
<p>
  <br>
  <b>Notes to Inheritors:</b> Inheriting controls should call the base class's <b>WndProc</b> method to process any messages that they do not handle. 
     </p>
</div>
</div>
