Compartilhar via


PenInputPanelInputFailedEventArgs.PenInputPanelInputFailedEventArgs Constructor

PenInputPanelInputFailedEventArgs.PenInputPanelInputFailedEventArgs Constructor

Initializes a new instance of the PenInputPanelInputFailedEventArgs class class.

Definition

Visual Basic .NET Public Sub PenInputPanelInputFailedEventArgs( _
ByVal handle As IntPtr, _
ByVal keyData As Keys, _
ByVal text As String _
)
C# public PenInputPanelInputFailedEventArgs(
IntPtr handle,
Keys keyData,
string text
);
Managed C++ public: PenInputPanelInputFailedEventArgs(
IntPtr *handle,
Keys *keyData,
String *text
);

Parameters

> > > > > > >
handle System.IntPtr. The handle of the control that invoked the PenInputPanel object.
keyData System.Windows.Forms.Keys. The state of keys pressed, including SHIFT, CAPS LOCK, CTRL, and ALT.

KeyCode65535 The bitmask to extract a key code from a key value.
Modifiers-65536 The bitmask to extract modifiers from a key value.
None0 No key pressed.
LButton1 The left mouse button.
RButton2 The right mouse button.
Cancel3 The CANCEL key.
MButton4 The middle mouse button (three-button mouse).
XButton15 The first x mouse button (five-button mouse).
XButton26 The second x mouse button (five-button mouse).
Back8 The BACKSPACE key.
Tab9 The TAB key.
LineFeed10 The LINEFEED key.
Clear12 The CLEAR key.
Return13 The RETURN key.
Enter13 The ENTER key.
ShiftKey16 The SHIFT key.
ControlKey17 The CTRL key.
Menu18 The ALT key.
Pause19 The PAUSE key.
Capital20 The CAPS LOCK key.
CapsLock20 The CAPS LOCK key.
KanaMode21 The IME Kana mode key.
HanguelMode21 The IME Hanguel mode key. (maintained for compatibility; use HangulMode )
HangulMode21 The IME Hangul mode key.
JunjaMode23 The IME Junja mode key.
FinalMode24 The IME final mode key.
HanjaMode25 The IME Hanja mode key.
KanjiMode25 The IME Kanji mode key.
Escape27 The ESC key.
IMEConvert28 The IME convert key.
IMENonconvert29 The IME nonconvert key.
IMEAccept30
IMEAceept30 The IME accept key.
IMEModeChange31 The IME mode change key.
Space32 The SPACEBAR key.
Prior33 The PAGE UP key.
PageUp33 The PAGE UP key.
Next34 The PAGE DOWN key.
PageDown34 The PAGE DOWN key.
End35 The END key.
Home36 The HOME key.
Left37 The LEFT ARROW key.
Up38 The UP ARROW key.
Right39 The RIGHT ARROW key.
Down40 The DOWN ARROW key.
Select41 The SELECT key.
Print42 The PRINT key.
Execute43 The EXECUTE key.
Snapshot44 The PRINT SCREEN key.
PrintScreen44 The PRINT SCREEN key.
Insert45 The INS key.
Delete46 The DEL key.
Help47 The HELP key.
D048 The 0 key.
D149 The 1 key.
D250 The 2 key.
D351 The 3 key.
D452 The 4 key.
D553 The 5 key.
D654 The 6 key.
D755 The 7 key.
D856 The 8 key.
D957 The 9 key.
A65 The A key.
B66 The B key.
C67 The C key.
D68 The D key.
E69 The E key.
F70 The F key.
G71 The G key.
H72 The H key.
I73 The I key.
J74 The J key.
K75 The K key.
L76 The L key.
M77 The M key.
N78 The N key.
O79 The O key.
P80 The P key.
Q81 The Q key.
R82 The R key.
S83 The S key.
T84 The T key.
U85 The U key.
V86 The V key.
W87 The W key.
X88 The X key.
Y89 The Y key.
Z90 The Z key.
LWin91 The left Windows logo key (Microsoft Natural Keyboard).
RWin92 The right Windows logo key (Microsoft Natural Keyboard).
Apps93 The application key (Microsoft Natural Keyboard).
Sleep95
NumPad096 The 0 key on the numeric keypad.
NumPad197 The 1 key on the numeric keypad.
NumPad298 The 2 key on the numeric keypad.
NumPad399 The 3 key on the numeric keypad.
NumPad4100 The 4 key on the numeric keypad.
NumPad5101 The 5 key on the numeric keypad.
NumPad6102 The 6 key on the numeric keypad.
NumPad7103 The 7 key on the numeric keypad.
NumPad8104 The 8 key on the numeric keypad.
NumPad9105 The 9 key on the numeric keypad.
Multiply106 The multiply key.
Add107 The add key.
Separator108 The separator key.
Subtract109 The subtract key.
Decimal110 The decimal key.
Divide111 The divide key.
F1112 The F1 key.
F2113 The F2 key.
F3114 The F3 key.
F4115 The F4 key.
F5116 The F5 key.
F6117 The F6 key.
F7118 The F7 key.
F8119 The F8 key.
F9120 The F9 key.
F10121 The F10 key.
F11122 The F11 key.
F12123 The F12 key.
F13124 The F13 key.
F14125 The F14 key.
F15126 The F15 key.
F16127 The F16 key.
F17128 The F17 key.
F18129 The F18 key.
F19130 The F19 key.
F20131 The F20 key.
F21132 The F21 key.
F22133 The F22 key.
F23134 The F23 key.
F24135 The F24 key.
NumLock144 The NUM LOCK key.
Scroll145 The SCROLL LOCK key.
LShiftKey160 The left SHIFT key.
RShiftKey161 The right SHIFT key.
LControlKey162 The left CTRL key.
RControlKey163 The right CTRL key.
LMenu164 The left ALT key.
RMenu165 The right ALT key.
BrowserBack166 The browser back key (Windows 2000 or later).
BrowserForward167 The browser forward key (Windows 2000 or later).
BrowserRefresh168 The browser refresh key (Windows 2000 or later).
BrowserStop169 The browser stop key (Windows 2000 or later).
BrowserSearch170 The browser search key (Windows 2000 or later).
BrowserFavorites171 The browser favorites key (Windows 2000 or later).
BrowserHome172 The browser home key (Windows 2000 or later).
VolumeMute173 The volume mute key (Windows 2000 or later).
VolumeDown174 The volume down key (Windows 2000 or later).
VolumeUp175 The volume up key (Windows 2000 or later).
MediaNextTrack176 The media next track key (Windows 2000 or later).
MediaPreviousTrack177 The media previous track key (Windows 2000 or later).
MediaStop178 The media Stop key (Windows 2000 or later).
MediaPlayPause179 The media play pause key (Windows 2000 or later).
LaunchMail180 The launch mail key (Windows 2000 or later).
SelectMedia181 The select media key (Windows 2000 or later).
LaunchApplication1182 The start application one key (Windows 2000 or later).
LaunchApplication2183 The start application two key (Windows 2000 or later).
OemSemicolon186
Oem1186
Oemplus187 The OEM plus key on any country/region keyboard (Windows 2000 or later).
Oemcomma188 The OEM comma key on any country/region keyboard (Windows 2000 or later).
OemMinus189 The OEM minus key on any country/region keyboard (Windows 2000 or later).
OemPeriod190 The OEM period key on any country/region keyboard (Windows 2000 or later).
OemQuestion191 The OEM question mark key on a US standard keyboard (Windows 2000 or later).
Oem2191
Oemtilde192 The OEM tilde key on a US standard keyboard (Windows 2000 or later).
Oem3192
OemOpenBrackets219 The OEM open bracket key on a US standard keyboard (Windows 2000 or later).
Oem4219
OemPipe220 The OEM pipe key on a US standard keyboard (Windows 2000 or later).
Oem5220
OemCloseBrackets221 The OEM close bracket key on a US standard keyboard (Windows 2000 or later).
Oem6221
OemQuotes222 The OEM singled/double quote key on a US standard keyboard (Windows 2000 or later).
Oem7222
Oem8223 OEM specific.
OemBackslash226 The OEM angle bracket or backslash key on the RT 102 key keyboard (Windows 2000 or later).
Oem102226
ProcessKey229 The PROCESS KEY key.
Packet231
Attn246 The ATTN key.
Crsel247 The CRSEL key.
Exsel248 The EXSEL key.
EraseEof249 The ERASE EOF key.
Play250 The PLAY key.
Zoom251 The ZOOM key.
NoName252 A constant reserved for future use.
Pa1253 The PA1 key.
OemClear254 The CLEAR key.
Shift65536 The SHIFT modifier key.
Control131072 The CTRL modifier key.
Alt262144 The ALT modifier key.
textSystem.String. The string returned from the recognizer, intended to be inserted into the control represented by the Handle property.

See Also