31 references to SendMessage
System.Private.Windows.Core (7)
Windows\Win32\PInvokeCore.SendMessage.cs (7)
8
/// <inheritdoc cref="
SendMessage
(HWND, uint, WPARAM, LPARAM)"/>
15
LRESULT result =
SendMessage
(hWnd.Handle, (uint)Msg, wParam, lParam);
20
/// <inheritdoc cref="
SendMessage
(HWND, uint, WPARAM, LPARAM)"/>
27
LRESULT result =
SendMessage
(hWnd.Handle, (uint)Msg, (WPARAM)wParam.Handle, lParam);
32
/// <inheritdoc cref="
SendMessage
(HWND, uint, WPARAM, LPARAM)"/>
45
/// <inheritdoc cref="
SendMessage
(HWND, uint, WPARAM, LPARAM)"/>
60
/// <inheritdoc cref="
SendMessage
(HWND, uint, WPARAM, LPARAM)"/>
System.Windows.Forms (14)
System\Windows\Forms\Application.cs (1)
764
PInvokeCore.
SendMessage
(handle, PInvokeCore.WM_THEMECHANGED);
System\Windows\Forms\Control.cs (2)
11761
m.ResultInternal = PInvokeCore.
SendMessage
(
11768
PInvokeCore.
SendMessage
(
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
30039
PInvokeCore.
SendMessage
(nmhdr->hwndFrom, PInvoke.TTM_SETMAXTIPWIDTH, 0, SystemInformation.MaxWindowTrackSize.Width);
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
398
int nativeColumnCount = (int)PInvokeCore.
SendMessage
(hwndHdr, PInvoke.HDM_GETITEMCOUNT);
System\Windows\Forms\Controls\ListView\ListView.cs (2)
6377
HFONT hFont = (HFONT)PInvokeCore.
SendMessage
(hwndHdr, PInvokeCore.WM_GETFONT);
6883
PInvokeCore.
SendMessage
(nmhdr->hwndFrom, PInvoke.TTM_SETMAXTIPWIDTH, (WPARAM)0, (LPARAM)SystemInformation.MaxWindowTrackSize.Width);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
1823
PInvokeCore.
SendMessage
(HWND, PInvoke.MCM_SETDAYSTATE, (WPARAM)monthsCount, (LPARAM)arr);
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
2115
PInvokeCore.
SendMessage
(nmhdr->hwndFrom, PInvoke.TTM_SETMAXTIPWIDTH, 0, SystemInformation.MaxWindowTrackSize.Width);
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
3207
PInvokeCore.
SendMessage
(nmhdr->hwndFrom, PInvoke.TTM_SETMAXTIPWIDTH, 0, SystemInformation.MaxWindowTrackSize.Width);
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
511
int sizeNeeded = (int)PInvokeCore.
SendMessage
(_dialogHWnd, PInvoke.CDM_GETSPEC);
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (1)
518
PInvokeCore.
SendMessage
(hwnd, PInvoke.BFFM_ENABLEOK, 0, (nint)(BOOL)isFileSystemFolder);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (1)
1667
PInvokeCore.
SendMessage
(
System\Windows\Forms\Form.cs (1)
5712
PInvokeCore.
SendMessage
(captureHwnd, PInvokeCore.WM_CANCELMODE);
System.Windows.Forms.Design (10)
System\ComponentModel\Design\CollectionEditor.FilterListBox.cs (3)
69
PInvokeCore.
SendMessage
(PInvoke.GetFocus(), PInvokeCore.WM_KEYDOWN, _lastKeyDown.WParamInternal, _lastKeyDown.LParamInternal);
97
PInvokeCore.
SendMessage
(hwnd, PInvokeCore.WM_KEYDOWN, _lastKeyDown.WParamInternal, _lastKeyDown.LParamInternal);
98
PInvokeCore.
SendMessage
(hwnd, PInvokeCore.WM_CHAR, m.WParamInternal, m.LParamInternal);
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
147
PInvokeCore.
SendMessage
(hWndCapture, PInvokeCore.WM_CANCELMODE);
System\ComponentModel\Design\ObjectSelectorEditor.cs (2)
68
uint exstyle = (uint)PInvokeCore.
SendMessage
(hwnd, PInvoke.TVM_GETEXTENDEDSTYLE);
70
PInvokeCore.
SendMessage
(hwnd, PInvoke.TVM_SETEXTENDEDSTYLE, (WPARAM)0, (LPARAM)exstyle);
System\Windows\Forms\Design\DesignerUtils.cs (1)
822
=> (uint)PInvokeCore.
SendMessage
(handle, PInvoke.TVM_GETEXTENDEDSTYLE);
System\Windows\Forms\Design\PbrsForward.cs (3)
105
PInvokeCore.
SendMessage
(hwnd, PInvokeCore.WM_KEYDOWN, bk.KeyDown.WParamInternal, bk.KeyDown.LParamInternal);
108
PInvokeCore.
SendMessage
(hwnd, PInvokeCore.WM_CHAR, bk.KeyChar.WParamInternal, bk.KeyChar.LParamInternal);
111
PInvokeCore.
SendMessage
(hwnd, PInvokeCore.WM_KEYUP, bk.KeyUp.WParamInternal, bk.KeyUp.LParamInternal);