Nevron .NET Vision
Nevron.UI.WinForm.Docking Namespace / NDockManager Class / OnKeyPreview Method
The keyboard event arguments.
The Windows message that generated the event.


In This Topic
    OnKeyPreview Method (NDockManager)
    In This Topic
    Gets notified for a keyboard event. The default processing examines the event arguments and searches for a registered command which has specified the current key combination as a shortcut.
    Syntax
    'Declaration
     
    
    Public Overridable Function OnKeyPreview( _
       ByVal e As System.Windows.Forms.KeyEventArgs, _
       ByRef m As System.Windows.Forms.Message _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NDockManager
    Dim e As System.Windows.Forms.KeyEventArgs
    Dim m As System.Windows.Forms.Message
    Dim value As System.Boolean
     
    value = instance.OnKeyPreview(e, m)
    public virtual System.bool OnKeyPreview( 
       System.Windows.Forms.KeyEventArgs e,
       ref System.Windows.Forms.Message m
    )

    Parameters

    e
    The keyboard event arguments.
    m
    The Windows message that generated the event.
    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