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