90 references to PARAM
System.Windows.Forms (68)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (4)
331int index = PARAM.LOWORD(PInvokeCore.SendMessage(_owningChildEdit, PInvokeCore.EM_CHARFROMPOS, 0, PARAM.FromPoint(pt))); 369return new Point(PARAM.SignedLOWORD(i), PARAM.SignedHIWORD(i));
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (3)
361Point pt = new(PARAM.LOWORD(lpmsg->lParam), PARAM.HIWORD(lpmsg->lParam)); 374lpmsg->lParam = PARAM.FromPoint(pt);
System\Windows\Forms\Control.cs (6)
11999int x = PARAM.SignedLOWORD(m.LParamInternal); 12000int y = PARAM.SignedHIWORD(m.LParamInternal); 12323OnMouseDown(new MouseEventArgs(button, clicks, PARAM.ToPoint(m.LParamInternal))); 12445OnMouseMove(new MouseEventArgs(MouseButtons, 0, PARAM.ToPoint(m.LParamInternal))); 12455Point location = PARAM.ToPoint(m.LParamInternal); 12515PointToClient(PARAM.ToPoint(m.LParamInternal)),
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (3)
405index = PARAM.LOWORD(index); 444return new Point(PARAM.SignedLOWORD(i), PARAM.SignedHIWORD(i));
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (12)
1474int comboXMid = PARAM.SignedLOWORD(m.LParamInternal) + (editRectMid.left - comboRectMid.left); 1475int comboYMid = PARAM.SignedHIWORD(m.LParamInternal) + (editRectMid.top - comboRectMid.top); 1746if (clientRect.Contains(PointToScreen(PARAM.ToPoint(m.LParamInternal)))) 1749OnClick(new MouseEventArgs(MouseButtons.Left, 1, PARAM.ToPoint(m.LParamInternal))); 1750OnMouseClick(new MouseEventArgs(MouseButtons.Left, 1, PARAM.ToPoint(m.LParamInternal))); 1804OnMouseUp(new MouseEventArgs(MouseButtons.Middle, 1, PARAM.ToPoint(m.LParamInternal))); 1842&& m.HWnd == _childEdit.Handle && PARAM.LOWORD(m.LParamInternal) == (int)PInvoke.HTCLIENT) 3782Point hitPoint = PointToClient(PARAM.ToPoint(m.LParamInternal)); 3917if (IsModernDropDownButtonClick(PARAM.ToPoint(m.LParamInternal))) 3940Point point = PointToScreen(PARAM.ToPoint(m.LParamInternal)); 3950OnClick(new MouseEventArgs(MouseButtons.Left, 1, PARAM.ToPoint(m.LParamInternal))); 3951OnMouseClick(new MouseEventArgs(MouseButtons.Left, 1, PARAM.ToPoint(m.LParamInternal)));
System\Windows\Forms\Controls\ComboBox\ComboBox.Modern.cs (2)
606int currentLeft = PARAM.LOWORD(currentMargins); 607int currentRight = PARAM.HIWORD(currentMargins);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
30044client = PointToClient(PARAM.ToPoint(m.LParamInternal));
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (4)
1517int index = (int)PInvokeCore.SendMessage(this, PInvoke.LB_ITEMFROMPOINT, 0, PARAM.FromLowHigh(x, y)); 1518if (PARAM.HIWORD(index) == 0) 1521return PARAM.LOWORD(index); 2420Point point = PARAM.ToPoint(m.LParamInternal);
System\Windows\Forms\Controls\ListView\ListView.cs (5)
5973Point point = PARAM.ToPoint(m.LParamInternal); 7038HitTest(PARAM.ToPoint(m.LParamInternal)) is { SubItem.Index: > 0, Item.Selected: true }; 7064OnMouseDoubleClick(new MouseEventArgs(_downButton, 2, PARAM.ToPoint(m.LParamInternal))); 7069OnMouseUp(new MouseEventArgs(_downButton, 1, PARAM.ToPoint(m.LParamInternal))); 7095OnMouseUp(new MouseEventArgs(_downButton, 1, PARAM.ToPoint(m.LParamInternal)));
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (1)
203return PARAM.ToInt(lvItem.lParam);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
1393return PARAM.ToInt(r.X, r.Y); 3490PInvokeCore.SendMessage(EditTextBox, PInvokeCore.WM_LBUTTONDOWN, 0, PARAM.FromPoint(editPoint));
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
942PInvokeCore.SendMessage(this, PInvoke.TCM_SETITEMSIZE, 0, PARAM.FromLowHigh(_itemSize.Width, _itemSize.Height)); 1241PInvokeCore.SendMessage(this, PInvoke.TCM_SETPADDING, 0, PARAM.FromPoint(_padding));
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (5)
2047int index = (int)PInvokeCore.SendMessage(this, PInvokeCore.EM_CHARFROMPOS, 0, PARAM.FromPoint(pt)); 2048index = PARAM.LOWORD(index); 2095return new Point(PARAM.SignedLOWORD(i), PARAM.SignedHIWORD(i)); 3235client = PointToClient(PARAM.ToPoint(m.LParamInternal));
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
575if (sizeGripBounds.Contains(PointToClient(PARAM.ToPoint(m.LParamInternal)))) 635if (ClientRectangle.Contains(PointToClient(PARAM.ToPoint(m.LParamInternal))))
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (2)
607ProcessMouseButtonPressed(m.HWND, PARAM.ToPoint(m.LParamInternal)); 614ProcessMouseButtonPressed(default, PARAM.ToPoint(m.LParamInternal));
System\Windows\Forms\Controls\TreeView\TreeView.cs (5)
2696OnMouseDown(new MouseEventArgs(button, clicks, PARAM.ToPoint(m.LParamInternal))); 3280pt = PARAM.ToPoint(m.LParamInternal) 3290OnMouseDown(new MouseEventArgs(MouseButtons.Left, 1, PARAM.ToPoint(m.LParamInternal))); 3313Point point = PARAM.ToPoint(m.LParamInternal); 3398pt = PARAM.ToPoint(m.LParamInternal)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
1393if (!ShowContextMenu(PARAM.ToPoint(m.LParamInternal)))
System\Windows\Forms\Form.cs (1)
7070Point point = PointToClient(PARAM.ToPoint(m.LParamInternal));
System\Windows\Forms\Input\InputLanguage.cs (3)
136int device = PARAM.HIWORD(_handle); 172device = PARAM.LOWORD(_handle); 194int langId = PARAM.LOWORD(_handle);
System\Windows\Forms\Internal\WinFormsUtils.cs (2)
29return new Point(PARAM.SignedLOWORD(lastXY), PARAM.SignedHIWORD(lastXY));
System\Windows\Forms\Screen.cs (1)
313public override int GetHashCode() => PARAM.ToInt(_hmonitor);
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1713PInvokeCore.SendMessage(this, PInvoke.TTM_TRACKPOSITION, 0, PARAM.FromLowHigh(pointX, pointY));
System.Windows.Forms.Design (22)
System\Drawing\Design\ColorEditor.CustomColorDialog.cs (2)
118if (PARAM.LOWORD(wParam) == (int)PInvoke.COLOR_ADD) 134(WPARAM)PARAM.FromLowHigh((int)MESSAGEBOX_RESULT.IDOK, 0),
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
318Point pt = PARAM.ToPoint(m.LParamInternal);
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.MouseHook.cs (1)
180Message m = Message.Create(hwnd, msg, 0u, PARAM.FromLowHigh(pt.Y, pt.X));
System\Windows\Forms\Design\ComponentTray.cs (4)
1603Point location = PARAM.ToPoint(m.LParamInternal); 1620Point location = PARAM.ToPoint(m.LParamInternal); 2520Point location = PARAM.ToPoint(m.LParamInternal); 2533Point pt = PARAM.ToPoint(m.LParamInternal);
System\Windows\Forms\Design\ControlCommandSet.cs (2)
1753return PARAM.ToInt(cX.Parent.Handle) - PARAM.ToInt(cY.Parent.Handle);
System\Windows\Forms\Design\ControlDesigner.cs (6)
1720Point pt = PARAM.ToPoint(m.LParamInternal); 1793location = PARAM.ToPoint(m.LParamInternal); 1798location = PARAM.ToPoint(m.LParamInternal); 2209location = PARAM.ToPoint(m.LParamInternal); 2395Point pt = PARAM.ToPoint(lParam); 2400return PARAM.ToInt(pt.X, pt.Y);
System\Windows\Forms\Design\DesignerUtils.cs (2)
159return new Point(PARAM.SignedLOWORD(lastXY), PARAM.SignedHIWORD(lastXY));
System\Windows\Forms\Design\ScrollableControlDesigner.cs (1)
33int hitTest = (int)PInvokeCore.SendMessage(f, PInvokeCore.WM_NCHITTEST, 0, PARAM.FromLowHigh(pt.X, pt.Y));
System\Windows\Forms\Design\TabControlDesigner.cs (2)
604               int x = PARAM.SignedLOWORD(m.LParamInternal); 605int y = PARAM.SignedHIWORD(m.LParamInternal);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
2513if (GetHitTest(PARAM.ToPoint(m.LParamInternal)))