JAMS Developer Guide
ProcessCmdKey Method (SubmitMenu)


MVPSI.JAMS Namespace > SubmitMenu Class : ProcessCmdKey Method
Syntax
'Declaration
 
<System.Security.Permissions.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)>
Protected Overridable Function ProcessCmdKey( _
   ByRef msg As System.Windows.Forms.Message, _
   ByVal keyData As System.Windows.Forms.Keys _
) As System.Boolean
'Usage
 
Dim instance As SubmitMenu
Dim msg As System.Windows.Forms.Message
Dim keyData As System.Windows.Forms.Keys
Dim value As System.Boolean
 
value = instance.ProcessCmdKey(msg, keyData)
[System.Security.Permissions.SecurityPermission(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)]
protected virtual System.bool ProcessCmdKey( 
   ref System.Windows.Forms.Message msg,
   System.Windows.Forms.Keys keyData
)

Parameters

msg
keyData
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SubmitMenu Class
SubmitMenu Members