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