LEADTOOLS Multimedia (Leadtools.Multimedia assembly)
LEAD Technologies, Inc

KeyDownEventArgs Constructor (KeyDownEventArgs)






The short integer value identifying which key was pressed.
The short integer shift state flags. 0x0001 = Shift is pressed, 0x0002 = Ctrl is pressed, and 0x0004 = Alt is pressed
The object constructor for the KeyDownEventArgs object.
Syntax
public KeyDownEventArgs( 
   short keyCode,
   short shiftState
)
'Declaration
 
Public Function New( _
   ByVal keyCode As Short, _
   ByVal shiftState As Short _
)
'Usage
 
Dim keyCode As Short
Dim shiftState As Short
 
Dim instance As New KeyDownEventArgs(keyCode, shiftState)
public KeyDownEventArgs( 
   short keyCode,
   short shiftState
)
function KeyDownEventArgs( 
   keyCode ,
   shiftState 
)
public:
KeyDownEventArgs( 
   short keyCode,
   short shiftState
)

Parameters

keyCode
The short integer value identifying which key was pressed.
shiftState
The short integer shift state flags. 0x0001 = Shift is pressed, 0x0002 = Ctrl is pressed, and 0x0004 = Alt is pressed
Remarks
This constructer is called internally when an KeyDownEvent occurs.
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

Reference

KeyDownEventArgs Class
KeyDownEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Multimedia requires a Multimedia or Multimedia Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features