Ribbon for WinForms | ComponentOne
C1.Win.Ribbon Namespace / C1RibbonForm Class / ProcessCmdKey Method
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.

In This Topic
    ProcessCmdKey Method (C1RibbonForm)
    In This Topic
    Processes a command key.
    Syntax
    'Declaration
     
    
    Protected Overrides Function ProcessCmdKey( _
       ByRef msg As Message, _
       ByVal keyData As Keys _
    ) As Boolean
    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 control; otherwise, false.
    See Also