12 references to PeekMessage
System.Windows.Forms (12)
winforms\Managed\System\WinForms\Application.cs (6)
2022return !UnsafeNativeMethods.PeekMessage(ref msg, NativeMethods.NullHandleRef, 0, 0, NativeMethods.PM_NOREMOVE); 2098bool peeked = UnsafeNativeMethods.PeekMessage(ref msg, NativeMethods.NullHandleRef, 0, 0, NativeMethods.PM_NOREMOVE); 2197if (!UnsafeNativeMethods.PeekMessage(ref msg, NativeMethods.NullHandleRef, 0, 0, NativeMethods.PM_NOREMOVE)) { 3527bool peeked = UnsafeNativeMethods.PeekMessage(ref msg, NativeMethods.NullHandleRef, 0, 0, NativeMethods.PM_NOREMOVE); 3566else if (!UnsafeNativeMethods.PeekMessage(ref msg, NativeMethods.NullHandleRef, 0, 0, NativeMethods.PM_NOREMOVE)) { 3990if (!UnsafeNativeMethods.PeekMessage(ref tempMsg, NativeMethods.NullHandleRef, 0, 0, NativeMethods.PM_NOREMOVE)) {
winforms\Managed\System\WinForms\Control.cs (2)
5948if (UnsafeNativeMethods.PeekMessage(ref msg, new HandleRef(this, Handle), threadCallbackMessage, 10858while (UnsafeNativeMethods.PeekMessage(ref msg, new HandleRef(this, hwnd),
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
4976while (UnsafeNativeMethods.PeekMessage(ref mouseMsg, 5059while (UnsafeNativeMethods.PeekMessage(ref mouseMsg,
winforms\Managed\System\WinForms\TabControl.cs (1)
2136while (UnsafeNativeMethods.PeekMessage(ref msg, new HandleRef(this, hwnd),
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
858while (UnsafeNativeMethods.PeekMessage(ref msg, new HandleRef(this, IntPtr.Zero),