ImageMan.Net Version 3 Summer 2012 Release
ProcessCmdKey Method
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > Viewer Class : ProcessCmdKey Method





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.

Glossary Item Box

Processes a command key.

Syntax

Visual Basic (Declaration) 
Protected Overrides Function ProcessCmdKey( _
   ByRef msg As System.Windows.Forms.Message, _
   ByVal keyData As System.Windows.Forms.Keys _
) As System.Boolean
Visual Basic (Usage)Copy Code
Dim instance As Viewer
Dim msg As System.Windows.Forms.Message
Dim keyData As System.Windows.Forms.Keys
Dim value As System.Boolean
 
value = instance.ProcessCmdKey(msg, keyData)
C# 
protected override System.bool ProcessCmdKey( 
   ref System.Windows.Forms.Message msg,
   System.Windows.Forms.Keys keyData
)
JScript 
protected override function ProcessCmdKey( 
   msg : System.Windows.Forms.Message,
   keyData : System.Windows.Forms.Keys
) : System.boolean;
Managed Extensions for C++ 
protected: System.bool ProcessCmdKey( 
   ref System.Windows.Forms.Message msg,
   System.Windows.Forms.Keys keyData
) override 
C++/CLI 
protected:
System.bool ProcessCmdKey( 
   System.Windows.Forms.Message% msg,
   System.Windows.Forms.Keys keyData
) override 

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.

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

© 2014 Data Techniques, Inc. All Rights Reserved.