14 references to PostMessage
System.Windows.Forms (14)
winforms\Managed\System\WinForms\ComboBox.cs (1)
3686UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), NativeMethods.WM_MOUSELEAVE, 0, 0);
winforms\Managed\System\WinForms\CommonDialog.cs (1)
158UnsafeNativeMethods.PostMessage(new HandleRef(null, hWnd), CDM_SETDEFAULTFOCUS, 0, 0);
winforms\Managed\System\WinForms\ListView.cs (1)
2242UnsafeNativeMethods.PostMessage(new HandleRef(this, this.Handle), NativeMethods.LVM_ARRANGE, (int) value, 0);
winforms\Managed\System\WinForms\MenuStrip.cs (1)
252UnsafeNativeMethods.PostMessage(WindowsFormsUtils.GetRootHWnd(this), NativeMethods.WM_SYSCOMMAND, NativeMethods.SC_KEYMENU, (int)Keys.Space);
winforms\Managed\System\WinForms\NativeWindow.cs (3)
204UnsafeNativeMethods.PostMessage(new HandleRef(this, h), NativeMethods.WM_CLOSE, 0, 0); 858UnsafeNativeMethods.PostMessage(new HandleRef(this, handle), NativeMethods.WM_CLOSE, 0, 0); 1088UnsafeNativeMethods.PostMessage(href, NativeMethods.WM_CLOSE, 0, 0);
winforms\Managed\System\WinForms\NotifyIcon.cs (2)
485UnsafeNativeMethods.PostMessage(new HandleRef(window, window.Handle), NativeMethods.WM_CLOSE, 0, 0); 1006UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), NativeMethods.WM_CLOSE, 0, 0);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
5346UnsafeNativeMethods.PostMessage(new HandleRef(Edit, Edit.Handle), NativeMethods.WM_IME_STARTCOMPOSITION, 0, 0);
winforms\Managed\System\WinForms\RichTextBox.cs (1)
3627UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle), NativeMethods.EM_SETSEL, selEnd - 1, selEnd);
winforms\Managed\System\WinForms\Timer.cs (1)
392UnsafeNativeMethods.PostMessage(new HandleRef(this, hWnd), NativeMethods.WM_CLOSE, 0, 0);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
877UnsafeNativeMethods.PostMessage( new HandleRef(this, targetWindowHandle), NativeMethods.WM_SYSCOMMAND,nativeMenuCommandID, 0); 883UnsafeNativeMethods.PostMessage( new HandleRef(this, targetWindowHandle), NativeMethods.WM_COMMAND, nativeMenuCommandID, 0);