12 references to MAKELPARAM
System.Windows.Forms (12)
winforms\Managed\System\WinForms\ComboBox.cs (1)
3260
SendMessage(NativeMethods.CB_SETEDITSEL, 0, NativeMethods.Util.
MAKELPARAM
(start, end));
winforms\Managed\System\WinForms\Control.cs (3)
8835
SendMessage(NativeMethods.WM_HSCROLL, NativeMethods.Util.
MAKELPARAM
(NativeMethods.SB_THUMBPOSITION, si.nPos), 0);
13503
SendMessage(NativeMethods.WM_CONTEXTMENU, this.Handle, NativeMethods.Util.
MAKELPARAM
(pt.X, pt.Y));
16588
msg.lParam = NativeMethods.Util.
MAKELPARAM
(pt.x, pt.y);
winforms\Managed\System\WinForms\ListBox.cs (1)
1567
int index = unchecked( (int) (long)SendMessage(NativeMethods.LB_ITEMFROMPOINT, 0, unchecked( (int) (long)NativeMethods.Util.
MAKELPARAM
(x, y))));
winforms\Managed\System\WinForms\ListView.cs (3)
4952
SendMessage(NativeMethods.LVM_SETCOLUMNWIDTH, columnIndex, NativeMethods.Util.
MAKELPARAM
(width, 0));
4960
SendMessage(NativeMethods.LVM_SETCOLUMNWIDTH, columnIndex, NativeMethods.Util.
MAKELPARAM
(newWidth, 0));
4967
SendMessage(NativeMethods.LVM_SETCOLUMNWIDTH, index, NativeMethods.Util.
MAKELPARAM
(width,0));
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
1285
NativeMethods.Util.
MAKELPARAM
((RightToLeft == RightToLeft.Yes) ? NativeMethods.SB_RIGHT : NativeMethods.SB_LEFT,0), 0);
winforms\Managed\System\WinForms\TabControl.cs (2)
1077
SendMessage(NativeMethods.TCM_SETITEMSIZE, 0, (int)NativeMethods.Util.
MAKELPARAM
(itemSize.Width, itemSize.Height));
1348
SendMessage(NativeMethods.TCM_SETPADDING, 0, NativeMethods.Util.
MAKELPARAM
(padding.X, padding.Y));
winforms\Managed\System\WinForms\ToolBar.cs (1)
1440
SendMessage(NativeMethods.TB_SETBUTTONSIZE, 0, NativeMethods.Util.
MAKELPARAM
((int)(buttonSize.Width*currentScaleDX), (int)(buttonSize.Height*currentScaleDY)));