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





keyData

Glossary Item Box

Determines whether the specified key is a regular input key or a special key that requires preprocessing.

Syntax

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

Parameters

keyData

Return Value

true if the specified key is a regular input key; otherwise, false.

Remarks

Call the IsInputKey method to determine whether the key specified by the keyData parameter is an input key that the control wants. This method is called during window message preprocessing to determine whether the specified input key should be preprocessed or sent directly to the control. If IsInputKey returns true, the specified key is sent directly to the control. If IsInputKey returns false, the specified key is preprocessed and only sent to the control if it is not consumed by the preprocessing phase. Keys that are preprocessed include the TAB, RETURN, ESCAPE, and the UP ARROW, DOWN ARROW, LEFT ARROW, and RIGHT ARROW keys.

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.