VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.UI Namespace / ThumbnailViewer Class / ProcessCmdKey Method
A Message, passed by reference, that represents the window message to process.
One of the Keys values that represents the key to process.



In This Topic
    ProcessCmdKey Method
    In This Topic
    Processes a command key.
    Syntax
    '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)>
    Protected Overrides Function ProcessCmdKey( _
       ByRef msg As Message, _
       ByVal keyData As Keys _
    ) As Boolean
    [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
    )
    [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: bool ProcessCmdKey( 
       ref Message msg,
       Keys keyData
    ) override 
    [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:
    bool ProcessCmdKey( 
       Message% msg,
       Keys keyData
    ) override 

    Parameters

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

    Return Value

    true if the character was processed by the control; otherwise, false.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also