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