14 references to PostMessage
System.Windows.Forms (14)
winforms\Managed\System\WinForms\Application.cs (2)
4156
UnsafeNativeMethods.
PostMessage
(new HandleRef(this, HandleInternal), WM_CHECKDESTROY, IntPtr.Zero, IntPtr.Zero);
4211
UnsafeNativeMethods.
PostMessage
(new HandleRef(this, Handle), WM_CHECKDESTROY, IntPtr.Zero, IntPtr.Zero);
winforms\Managed\System\WinForms\Control.cs (3)
7838
UnsafeNativeMethods.
PostMessage
(new HandleRef(this, Handle), threadCallbackMessage, IntPtr.Zero, IntPtr.Zero);
8817
UnsafeNativeMethods.
PostMessage
(new HandleRef(this, Handle), threadCallbackMessage, IntPtr.Zero, IntPtr.Zero);
12811
UnsafeNativeMethods.
PostMessage
(new HandleRef(null, lastParentHandle), NativeMethods.WM_CLOSE, IntPtr.Zero, IntPtr.Zero);
winforms\Managed\System\WinForms\Form.cs (1)
7260
UnsafeNativeMethods.
PostMessage
(new HandleRef(formMdiParent, formMdiParent.Handle), NativeMethods.WM_SYSCOMMAND, new IntPtr(NativeMethods.SC_KEYMENU), m.WParam);
winforms\Managed\System\WinForms\NotifyIcon.cs (1)
742
UnsafeNativeMethods.
PostMessage
(new HandleRef(window, window.Handle), NativeMethods.WM_NULL, IntPtr.Zero, IntPtr.Zero);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
5351
UnsafeNativeMethods.
PostMessage
(new HandleRef(Edit, Edit.Handle), NativeMethods.WM_IME_COMPOSITION, m.WParam, m.LParam);
6650
UnsafeNativeMethods.
PostMessage
(new HandleRef(this, Handle), NativeMethods.WM_CHAR, (IntPtr)keyChar, IntPtr.Zero);
winforms\Managed\System\WinForms\RichTextBox.cs (1)
2604
UnsafeNativeMethods.
PostMessage
(new HandleRef(this, Handle), RichTextBoxConstants.EM_SETOPTIONS, (IntPtr)RichTextBoxConstants.ECOOP_OR,
winforms\Managed\System\WinForms\TabControl.cs (1)
1067
UnsafeNativeMethods.
PostMessage
(new HandleRef(this, Handle), tabBaseReLayoutMessage, IntPtr.Zero, IntPtr.Zero);
winforms\Managed\System\WinForms\TreeNode.cs (1)
1728
UnsafeNativeMethods.
PostMessage
(new HandleRef(tv, tv.Handle), NativeMethods.TVM_EDITLABEL, IntPtr.Zero, handle);
winforms\Managed\System\WinForms\TreeView.cs (2)
1750
UnsafeNativeMethods.
PostMessage
(new HandleRef(this, Handle), NativeMethods.WM_SETREDRAW, (IntPtr)1, IntPtr.Zero);
3107
UnsafeNativeMethods.
PostMessage
(new HandleRef(this, this.Handle), NativeMethods.WM_NULL, IntPtr.Zero, IntPtr.Zero);