Share via


InkEdit.WndProc Method

Processes messages. This member overrides the System.Windows.Forms.Control.WndProc method.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.UnmanagedCode)> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
<SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags := SecurityPermissionFlag.UnmanagedCode)> _
Protected Overrides Sub WndProc ( _
    ByRef m As Message _
)
'Usage
Dim m As Message 

Me.WndProc(m)
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
protected override void WndProc(
    ref Message m
)
[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)]
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = L"FullTrust")]
[SecurityPermissionAttribute(SecurityAction::InheritanceDemand, Flags = SecurityPermissionFlag::UnmanagedCode)]
protected:
virtual void WndProc(
    Message% m
) override
protected override function WndProc(
    m : Message
)

Parameters

Remarks

All messages are sent to the WndProc method after getting filtered through the System.Windows.Forms.Control.PreProcessMessage method.

The WndProc method corresponds exactly to the 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.

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkEdit Class

InkEdit Members

Microsoft.Ink Namespace