33 references to PostMessage
System.Private.Windows.Core (1)
Windows\Win32\PInvokeCore.PostMessage.cs (1)
16
BOOL result =
PostMessage
(hWnd.Handle, (uint)Msg, wParam, lParam);
System.Windows.Forms (26)
System\Windows\Forms\Application.ParkingWindow.cs (2)
79
PInvokeCore.
PostMessage
(HWNDInternal, WM_CHECKDESTROY);
150
PInvokeCore.
PostMessage
(this, WM_CHECKDESTROY);
System\Windows\Forms\Control.cs (3)
6524
PInvokeCore.
PostMessage
(this, s_threadCallbackMessage);
7406
PInvokeCore.
PostMessage
(this, s_threadCallbackMessage);
11143
PInvokeCore.
PostMessage
(lastParentHandle, PInvokeCore.WM_CLOSE);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
3666
PInvokeCore.
PostMessage
(this, PInvokeCore.WM_MOUSELEAVE);
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2262
PInvokeCore.
PostMessage
(this, PInvoke.LVM_ARRANGE, (WPARAM)(int)value);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
5327
PInvokeCore.
PostMessage
(EditTextBox, PInvokeCore.WM_IME_STARTCOMPOSITION);
5332
PInvokeCore.
PostMessage
(EditTextBox, PInvokeCore.WM_IME_COMPOSITION, m.WParamInternal, m.LParamInternal);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (1)
96
PInvokeCore.
PostMessage
(this, PInvokeCore.WM_CHAR, (WPARAM)keyChar);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
2496
PInvokeCore.
PostMessage
(
3411
PInvokeCore.
PostMessage
(this, PInvokeCore.EM_SETSEL, (WPARAM)(selEnd - 1), (LPARAM)selEnd);
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
936
PInvokeCore.
PostMessage
(this, _tabBaseReLayoutMessage);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
783
PInvokeCore.
PostMessage
(_targetWindowHandle, PInvokeCore.WM_SYSCOMMAND, (WPARAM)(uint)_nativeMenuCommandID);
790
PInvokeCore.
PostMessage
(_targetWindowHandle, PInvokeCore.WM_COMMAND, (WPARAM)(uint)_nativeMenuCommandID);
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
1895
PInvokeCore.
PostMessage
(tv, PInvoke.TVM_EDITLABELW, default, (LPARAM)HTREEITEMInternal);
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
1605
PInvokeCore.
PostMessage
(this, PInvokeCore.WM_SETREDRAW, (WPARAM)(BOOL)true);
3116
PInvokeCore.
PostMessage
(this, PInvoke.TVM_SELECTITEM, (WPARAM)PInvoke.TVGN_DROPHILITE, (LPARAM)treeNode.Handle);
System\Windows\Forms\Dialogs\CommonDialogs\CommonDialog.cs (1)
77
PInvokeCore.
PostMessage
((HWND)hWnd, CDM_SETDEFAULTFOCUS);
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.cs (1)
1046
if (PInvokeCore.
PostMessage
(hWnd, ContinueButtonClickHandlingMessage))
System\Windows\Forms\NativeWindow.cs (3)
139
PInvokeCore.
PostMessage
(handle, PInvokeCore.WM_CLOSE);
538
PInvokeCore.
PostMessage
(this, PInvokeCore.WM_CLOSE);
619
PInvokeCore.
PostMessage
(handle, PInvokeCore.WM_CLOSE);
System\Windows\Forms\NotifyIcon.cs (1)
406
PInvokeCore.
PostMessage
(_window, PInvokeCore.WM_CLOSE);
System\Windows\Forms\NotifyIcon.NotifyIconNativeWindow.cs (1)
31
PInvokeCore.
PostMessage
(this, PInvokeCore.WM_CLOSE);
System\Windows\Forms\Timer.cs (1)
284
PInvokeCore.
PostMessage
(hwnd, PInvokeCore.WM_CLOSE);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\PbrsForward.cs (1)
179
PInvokeCore.
PostMessage
(_target, (MessageId)WM_PRIVATE_POSTCHAR);
System.Windows.Forms.Tests (3)
ExceptionHandlingTests.cs (1)
17
PInvokeCore.
PostMessage
(control, 9876);
System\Windows\Forms\ListViewTests.cs (1)
5452
PInvokeCore.
PostMessage
(listView, PInvokeCore.WM_LBUTTONUP, 0, PARAM.FromPoint(subItemLocation));
System\Windows\Forms\ToolTipTests.cs (1)
856
Assert.True(PInvokeCore.
PostMessage
(toolTip, PInvokeCore.WM_MOUSEMOVE, lParam: PARAM.FromPoint(tabPage.GetToolNativeScreenRectangle().Location)));
System.Windows.Forms.TestUtilities (2)
DialogHostForm.cs (1)
31
PInvokeCore.
PostMessage
(dialogHandle, PInvokeCore.WM_CLOSE);
PropertyGridInternal\SubPropertyGrid.cs (1)
66
PInvokeCore.
PostMessage
(this, WM_DELAYEDEXECUTION, lParam: GCHandle.ToIntPtr(callbackHandle));