- m
- A System.Windows.Forms.Message, passed by reference, that represents the window message to process.
Visual Basic (Declaration) | |
---|---|
<SecurityPermissionAttribute(Flags=SecurityPermissionFlag.UnmanagedCode, Assertion=False, UnmanagedCode=True, SkipVerification=False, Execution=False, ControlThread=False, ControlEvidence=False, ControlPolicy=False, SerializationFormatter=False, ControlDomainPolicy=False, ControlPrincipal=False, ControlAppDomain=False, RemotingConfiguration=False, Infrastructure=False, BindingRedirects=False, Action=SecurityAction.Demand Or _ SecurityAction.Deny Or _ SecurityAction.LinkDemand, Unrestricted=False)> <SecurityPermissionAttribute(Flags=SecurityPermissionFlag.UnmanagedCode, Assertion=False, UnmanagedCode=True, SkipVerification=False, Execution=False, ControlThread=False, ControlEvidence=False, ControlPolicy=False, SerializationFormatter=False, ControlDomainPolicy=False, ControlPrincipal=False, ControlAppDomain=False, RemotingConfiguration=False, Infrastructure=False, BindingRedirects=False, Action=SecurityAction.Demand Or _ SecurityAction.Assert Or _ SecurityAction.Deny Or _ SecurityAction.PermitOnly Or _ SecurityAction.LinkDemand Or _ SecurityAction.InheritanceDemand, Unrestricted=False)> Protected Overridable Function ProcessKeyPreview( _ ByRef m As Message _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim m As Message Dim value As Boolean value = instance.ProcessKeyPreview(m) |
C# | |
---|---|
[SecurityPermissionAttribute(Flags=SecurityPermissionFlag.UnmanagedCode, Assertion=false, UnmanagedCode=true, SkipVerification=false, Execution=false, ControlThread=false, ControlEvidence=false, ControlPolicy=false, SerializationFormatter=false, ControlDomainPolicy=false, ControlPrincipal=false, ControlAppDomain=false, RemotingConfiguration=false, Infrastructure=false, BindingRedirects=false, Action=SecurityAction.Demand | SecurityAction.Deny | SecurityAction.LinkDemand, Unrestricted=false)] [SecurityPermissionAttribute(Flags=SecurityPermissionFlag.UnmanagedCode, Assertion=false, UnmanagedCode=true, SkipVerification=false, Execution=false, ControlThread=false, ControlEvidence=false, ControlPolicy=false, SerializationFormatter=false, ControlDomainPolicy=false, ControlPrincipal=false, ControlAppDomain=false, RemotingConfiguration=false, Infrastructure=false, BindingRedirects=false, Action=SecurityAction.Demand | SecurityAction.Assert | SecurityAction.Deny | SecurityAction.PermitOnly | SecurityAction.LinkDemand | SecurityAction.InheritanceDemand, Unrestricted=false)] protected virtual bool ProcessKeyPreview( ref Message m ) |
C++/CLI | |
---|---|
[SecurityPermissionAttribute(Flags=SecurityPermissionFlag.UnmanagedCode, Assertion=false, UnmanagedCode=true, SkipVerification=false, Execution=false, ControlThread=false, ControlEvidence=false, ControlPolicy=false, SerializationFormatter=false, ControlDomainPolicy=false, ControlPrincipal=false, ControlAppDomain=false, RemotingConfiguration=false, Infrastructure=false, BindingRedirects=false, Action=SecurityAction.Demand | SecurityAction.Deny | SecurityAction.LinkDemand, Unrestricted=false)] [SecurityPermissionAttribute(Flags=SecurityPermissionFlag.UnmanagedCode, Assertion=false, UnmanagedCode=true, SkipVerification=false, Execution=false, ControlThread=false, ControlEvidence=false, ControlPolicy=false, SerializationFormatter=false, ControlDomainPolicy=false, ControlPrincipal=false, ControlAppDomain=false, RemotingConfiguration=false, Infrastructure=false, BindingRedirects=false, Action=SecurityAction.Demand | SecurityAction.Assert | SecurityAction.Deny | SecurityAction.PermitOnly | SecurityAction.LinkDemand | SecurityAction.InheritanceDemand, Unrestricted=false)] protected: virtual bool ProcessKeyPreview( % Message m ) |
Parameters
- m
- A System.Windows.Forms.Message, passed by reference, that represents the window message to process.
Return Value
true if the message was processed by the control; otherwise, false.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7