31 references to SendMessage
System.Windows.Forms (31)
winforms\Managed\System\WinForms\ComboBox.cs (1)
3260SendMessage(NativeMethods.CB_SETEDITSEL, 0, NativeMethods.Util.MAKELPARAM(start, end));
winforms\Managed\System\WinForms\Form.cs (2)
6819SendMessage(NativeMethods.WM_SETICON,NativeMethods.ICON_SMALL,smallIcon.Handle); 6821SendMessage(NativeMethods.WM_SETICON,NativeMethods.ICON_BIG,icon.Handle);
winforms\Managed\System\WinForms\ListView.cs (12)
590SendMessage(NativeMethods.LVM_SETIMAGELIST, NativeMethods.LVSIL_STATE, imageListState.Handle); 592SendMessage(NativeMethods.LVM_SETIMAGELIST, NativeMethods.LVSIL_STATE, IntPtr.Zero); 1551SendMessage(NativeMethods.LVM_SETIMAGELIST, NativeMethods.LVSIL_STATE, value == null ? IntPtr.Zero: value.Handle); 1571SendMessage(NativeMethods.LVM_SETIMAGELIST, NativeMethods.LVSIL_STATE, IntPtr.Zero); 1586SendMessage(NativeMethods.LVM_SETIMAGELIST, NativeMethods.LVSIL_STATE, (imageListState == null || imageListState.Images.Count == 0) ? IntPtr.Zero : imageListState.Handle); 4652SendMessage(NativeMethods.LVM_SETIMAGELIST, NativeMethods.LVSIL_NORMAL, imageListLarge.Handle); 4655SendMessage(NativeMethods.LVM_SETIMAGELIST, NativeMethods.LVSIL_SMALL, imageListSmall.Handle); 4658SendMessage(NativeMethods.LVM_SETIMAGELIST, NativeMethods.LVSIL_STATE, imageListState.Handle); 4952SendMessage(NativeMethods.LVM_SETCOLUMNWIDTH, columnIndex, NativeMethods.Util.MAKELPARAM(width, 0)); 4960SendMessage(NativeMethods.LVM_SETCOLUMNWIDTH, columnIndex, NativeMethods.Util.MAKELPARAM(newWidth, 0)); 4967SendMessage(NativeMethods.LVM_SETCOLUMNWIDTH, index, NativeMethods.Util.MAKELPARAM(width,0)); 5801SendMessage(NativeMethods.LVM_SETIMAGELIST, NativeMethods.LVSIL_STATE, IntPtr.Zero);
winforms\Managed\System\WinForms\StatusBar.cs (1)
603SendMessage(NativeMethods.SB_SETICON, 0, IntPtr.Zero);
winforms\Managed\System\WinForms\TabControl.cs (3)
1265SendMessage(NativeMethods.TCM_SETIMAGELIST, 0, ImageList.Handle); 1348SendMessage(NativeMethods.TCM_SETPADDING, 0, NativeMethods.Util.MAKELPARAM(padding.X, padding.Y)); 1355SendMessage(NativeMethods.TCM_SETIMAGELIST, 0, imageList.Handle);
winforms\Managed\System\WinForms\ToolBar.cs (3)
1300SendMessage(NativeMethods.TB_SETIMAGELIST, 0, imageList.Handle); 1386SendMessage(NativeMethods.TB_ADDBUTTONS, count, ptbbuttons); 1440SendMessage(NativeMethods.TB_SETBUTTONSIZE, 0, NativeMethods.Util.MAKELPARAM((int)(buttonSize.Width*currentScaleDX), (int)(buttonSize.Height*currentScaleDY)));
winforms\Managed\System\WinForms\TreeView.cs (9)
647SendMessage(NativeMethods.TVM_SETIMAGELIST, 0, 1144SendMessage(NativeMethods.TVM_SELECTITEM, NativeMethods.TVGN_CARET, hnode); 1348SendMessage(NativeMethods.TVM_SELECTITEM, NativeMethods.TVGN_FIRSTVISIBLE, hnode); 1845SendMessage(NativeMethods.TVM_SETIMAGELIST, 0, handle); 2018SendMessage(NativeMethods.TVM_SETIMAGELIST, 0, imageList.Handle); 2081SendMessage(NativeMethods.TVM_SETIMAGELIST, NativeMethods.TVSIL_STATE, newImageList.Handle); 2095IntPtr handleOld = SendMessage(NativeMethods.TVM_SETIMAGELIST, NativeMethods.TVSIL_STATE, handle); 2106IntPtr handle = SendMessage(NativeMethods.TVM_GETIMAGELIST, NativeMethods.TVSIL_STATE, IntPtr.Zero); 2112SendMessage(NativeMethods.TVM_SETIMAGELIST, NativeMethods.TVSIL_STATE, IntPtr.Zero);