GrapeCity MultiRow Windows Forms Documentation
ProcessCmdKey Method (PopupEditingControl)


A System.Windows.Forms.Message, passed by reference, that represents the window message to process.
One of the System.Windows.Forms.Keys values that represents the key to process.
Processes a command key.
Syntax
<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 Overrides Function ProcessCmdKey( _
   ByRef msg As Message, _
   ByVal keyData As Keys _
) As Boolean
Dim instance As PopupEditingControl
Dim msg As Message
Dim keyData As Keys
Dim value As Boolean
 
value = instance.ProcessCmdKey(msg, keyData)
[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 override bool ProcessCmdKey( 
   ref Message msg,
   Keys keyData
)

Parameters

msg
A System.Windows.Forms.Message, passed by reference, that represents the window message to process.
keyData
One of the System.Windows.Forms.Keys values that represents the key to process.

Return Value

true if the character was processed by the editing control; otherwise, false.
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

PopupEditingControl Class
PopupEditingControl Members

 

 


Copyright © GrapeCity, inc. All rights reserved.