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