39 references to WM_SETFOCUS
System.Private.Windows.Core (1)
Windows\Win32\MessageId.cs (1)
54
PInvokeCore.
WM_SETFOCUS
=> "WM_SETFOCUS",
System.Windows.Forms (17)
System\Windows\Forms\Control.cs (1)
12579
case PInvokeCore.
WM_SETFOCUS
:
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
1538
case PInvokeCore.
WM_SETFOCUS
:
3634
case PInvokeCore.
WM_SETFOCUS
:
System\Windows\Forms\Controls\ListView\ListView.cs (1)
7106
case PInvokeCore.
WM_SETFOCUS
:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
5337
case (int)PInvokeCore.
WM_SETFOCUS
:
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
3391
PInvokeCore.SendMessage(this, PInvokeCore.
WM_SETFOCUS
);
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
2979
case PInvokeCore.
WM_SETFOCUS
:
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4584
if (m.MsgInternal == PInvokeCore.
WM_SETFOCUS
)
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
3389
case PInvokeCore.
WM_SETFOCUS
:
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
942
case PInvokeCore.
WM_SETFOCUS
:
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (1)
75
else if (msg == (int)PInvokeCore.
WM_SETFOCUS
)
System\Windows\Forms\Dialogs\MessageBox.cs (1)
491
PInvokeCore.SendMessage(handle, PInvokeCore.
WM_SETFOCUS
);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
2026
case PInvokeCore.
WM_SETFOCUS
:
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
2406
case PInvokeCore.
WM_SETFOCUS
:
System\Windows\Forms\MDI\MDIClient.cs (1)
336
case PInvokeCore.
WM_SETFOCUS
:
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
736
PInvokeCore.SendMessage(this, PInvokeCore.
WM_SETFOCUS
);
System\Windows\Forms\UserControl.cs (1)
323
case PInvokeCore.
WM_SETFOCUS
:
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ControlDesigner.cs (2)
1890
PInvokeCore.SendMessage(Control, PInvokeCore.
WM_SETFOCUS
);
2177
case PInvokeCore.
WM_SETFOCUS
:
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
1005
case PInvokeCore.
WM_SETFOCUS
:
System.Windows.Forms.Tests (18)
System\Windows\Forms\CommonDialogTests.cs (1)
75
yield return new object[] { PInvokeCore.
WM_SETFOCUS
};
System\Windows\Forms\ContainerControlTests.cs (2)
1271
Msg = (int)PInvokeCore.
WM_SETFOCUS
,
1302
Msg = (int)PInvokeCore.
WM_SETFOCUS
,
System\Windows\Forms\ControlTests.Methods.cs (8)
14007
Msg = (int)PInvokeCore.
WM_SETFOCUS
,
14038
Msg = (int)PInvokeCore.
WM_SETFOCUS
,
14076
Msg = (int)PInvokeCore.
WM_SETFOCUS
,
14132
Msg = (int)PInvokeCore.
WM_SETFOCUS
,
14192
Msg = (int)PInvokeCore.
WM_SETFOCUS
,
14236
Msg = (int)PInvokeCore.
WM_SETFOCUS
,
14280
Msg = (int)PInvokeCore.
WM_SETFOCUS
,
14324
Msg = (int)PInvokeCore.
WM_SETFOCUS
,
System\Windows\Forms\FontDialogTests.cs (2)
636
yield return new object[] { showColor, (int)PInvokeCore.
WM_SETFOCUS
, IntPtr.Zero };
666
yield return new object[] { showColor, (int)PInvokeCore.
WM_SETFOCUS
, IntPtr.Zero, 0 };
System\Windows\Forms\MessageTests.cs (1)
230
yield return new object[] { PInvokeCore.
WM_SETFOCUS
, " (WM_SETFOCUS)" };
System\Windows\Forms\UpDownBaseTests.cs (2)
2974
Msg = (int)PInvokeCore.
WM_SETFOCUS
,
3004
Msg = (int)PInvokeCore.
WM_SETFOCUS
,
System\Windows\Forms\UserControlTests.cs (2)
1737
Msg = (int)PInvokeCore.
WM_SETFOCUS
,
1768
Msg = (int)PInvokeCore.
WM_SETFOCUS
,