32 references to WM_KEYDOWN
System.Windows.Forms (32)
winforms\Managed\System\WinForms\ComboBox.cs (2)
1658
case NativeMethods.
WM_KEYDOWN
:
2223
if (m.Msg == NativeMethods.
WM_KEYDOWN
) {
winforms\Managed\System\WinForms\Control.cs (7)
10157
if (msg.Msg == NativeMethods.
WM_KEYDOWN
|| msg.Msg == NativeMethods.WM_SYSKEYDOWN) {
10247
if (msg.Msg == NativeMethods.
WM_KEYDOWN
|| msg.Msg == NativeMethods.WM_SYSKEYDOWN) {
10263
if (msg.Msg == NativeMethods.
WM_KEYDOWN
|| msg.Msg == NativeMethods.WM_SYSKEYDOWN) {
10648
if (m.Msg == NativeMethods.
WM_KEYDOWN
|| m.Msg == NativeMethods.WM_SYSKEYDOWN) {
14224
case NativeMethods.
WM_KEYDOWN
:
16598
if (msg.message == NativeMethods.
WM_KEYDOWN
&& msg.wParam == (IntPtr)NativeMethods.VK_TAB) {
18506
case NativeMethods.
WM_KEYDOWN
:
winforms\Managed\System\WinForms\DataGrid.cs (1)
8210
if (m.Msg == NativeMethods.
WM_KEYDOWN
) {
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
22306
if (m.Msg == NativeMethods.WM_SYSKEYDOWN || m.Msg == NativeMethods.
WM_KEYDOWN
)
22420
if (this.editingControl != null && (m.Msg == NativeMethods.
WM_KEYDOWN
|| m.Msg == NativeMethods.WM_SYSKEYDOWN))
22432
if (m.Msg == NativeMethods.
WM_KEYDOWN
|| m.Msg == NativeMethods.WM_SYSKEYDOWN)
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (1)
314
if (m.Msg == NativeMethods.
WM_KEYDOWN
&& ModifierKeys == Keys.Control)
winforms\Managed\System\WinForms\MessageDecoder.cs (1)
125
case NativeMethods.
WM_KEYDOWN
: text = "WM_KEYDOWN"; break;
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
929
case NativeMethods.
WM_KEYDOWN
:
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
1790
if (dropDownHolder != null && dropDownHolder.Visible && m.Msg == NativeMethods.
WM_KEYDOWN
&& (int)m.WParam != (int)Keys.Tab) {
winforms\Managed\System\WinForms\SendKeys.cs (12)
167
AddEvent(new SKEvent(NativeMethods.
WM_KEYDOWN
, (int)Keys.ShiftKey, fStartNewChar, hwnd));
173
AddEvent(new SKEvent(NativeMethods.
WM_KEYDOWN
, (int)Keys.ControlKey, fStartNewChar, hwnd));
179
AddEvent(new SKEvent(NativeMethods.
WM_KEYDOWN
, (int)Keys.Menu, fStartNewChar, hwnd));
204
AddEvent(new SKEvent(altnoctrldown ? NativeMethods.WM_SYSKEYDOWN : NativeMethods.
WM_KEYDOWN
, vk, fStartNewChar, hwnd));
471
AddEvent(new SKEvent(NativeMethods.
WM_KEYDOWN
, (int)Keys.ShiftKey, fStartNewChar, hwnd));
477
AddEvent(new SKEvent(NativeMethods.
WM_KEYDOWN
, (int)Keys.ControlKey, fStartNewChar, hwnd));
483
AddEvent(new SKEvent(NativeMethods.
WM_KEYDOWN
, (int)Keys.Menu, fStartNewChar, hwnd));
504
AddEvent(new SKEvent(NativeMethods.
WM_KEYDOWN
, (int)Keys.ShiftKey, fStartNewChar, hwnd));
512
AddEvent(new SKEvent(NativeMethods.
WM_KEYDOWN
, (int)Keys.ControlKey, fStartNewChar, hwnd));
520
AddEvent(new SKEvent((haveKeys[HAVECTRL] != 0) ? NativeMethods.
WM_KEYDOWN
: NativeMethods.WM_SYSKEYDOWN,
716
else if ((skEvent.wm == NativeMethods.
WM_KEYDOWN
) ||
778
if (skEvent.wm == NativeMethods.
WM_KEYDOWN
)
winforms\Managed\System\WinForms\SplitContainer.cs (1)
2550
if ((m.Msg == NativeMethods.
WM_KEYDOWN
&& (int)m.WParam == (int)Keys.Escape)
winforms\Managed\System\WinForms\Splitter.cs (1)
1086
if (m.Msg == NativeMethods.
WM_KEYDOWN
&& unchecked((int)(long)m.WParam) == (int)Keys.Escape) {
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
1339
case NativeMethods.
WM_KEYDOWN
: