8 references to FromPoint
System.Windows.Forms (5)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (1)
331int index = PARAM.LOWORD(PInvokeCore.SendMessage(_owningChildEdit, PInvokeCore.EM_CHARFROMPOS, 0, PARAM.FromPoint(pt)));
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
374lpmsg->lParam = PARAM.FromPoint(pt);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3455PInvokeCore.SendMessage(EditTextBox, PInvokeCore.WM_LBUTTONDOWN, 0, PARAM.FromPoint(editPoint));
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1246PInvokeCore.SendMessage(this, PInvoke.TCM_SETPADDING, 0, PARAM.FromPoint(_padding));
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1573int index = (int)PInvokeCore.SendMessage(this, PInvokeCore.EM_CHARFROMPOS, 0, PARAM.FromPoint(pt));
System.Windows.Forms.Tests (3)
System\Windows\Forms\ListViewTests.cs (2)
5452PInvokeCore.PostMessage(listView, PInvokeCore.WM_LBUTTONUP, 0, PARAM.FromPoint(subItemLocation)); 5453PInvokeCore.SendMessage(listView, PInvokeCore.WM_LBUTTONDOWN, 1, PARAM.FromPoint(subItemLocation));
System\Windows\Forms\ToolTipTests.cs (1)
856Assert.True(PInvokeCore.PostMessage(toolTip, PInvokeCore.WM_MOUSEMOVE, lParam: PARAM.FromPoint(tabPage.GetToolNativeScreenRectangle().Location)));