36 references to WindowMessage
PresentationCore (3)
Core\CSharp\System\Windows\Interop\HwndTarget.cs (3)
116
/// This is returned by <see cref="HandleMessage(
WindowMessage
, IntPtr, IntPtr)"/>
122
/// This is returned by <see cref="HandleMessage(
WindowMessage
, IntPtr, IntPtr)"/>
124
/// given Window message - i.e., <see cref="HandleMessage(
WindowMessage
, IntPtr, IntPtr)"/>
WindowsBase (33)
Base\System\Windows\Threading\Dispatcher.cs (6)
2490
WindowMessage
message = (
WindowMessage
)msg;
2496
if(message ==
WindowMessage
.WM_DESTROY)
2509
else if(message ==
WindowMessage
.WM_TIMER && (int) wParam == TIMERID_BACKGROUND)
2517
else if(message ==
WindowMessage
.WM_TIMER && (int) wParam == TIMERID_TIMERS)
3191
private static
WindowMessage
_msgProcessQueue;
Shared\MS\Win32\HwndSubclass.cs (5)
337
WindowMessage
message = (
WindowMessage
)msg;
409
if(message ==
WindowMessage
.WM_NCDESTROY)
527
IntPtr CallOldWindowProc(IntPtr oldWndProc, IntPtr hwnd,
WindowMessage
msg, IntPtr wParam, IntPtr lParam)
682
internal static readonly
WindowMessage
DetachMessage;
Shared\MS\Win32\HwndWrapper.cs (4)
338
WindowMessage
message = (
WindowMessage
)msg;
356
if (message ==
WindowMessage
.WM_NCDESTROY)
502
private static
WindowMessage
s_msgGCMemory;
Shared\MS\Win32\ManagedWndProcTracker.cs (1)
191
UnsafeNativeMethods.PostMessage(new HandleRef(null,hwnd),
WindowMessage
.WM_CLOSE, IntPtr.Zero, IntPtr.Zero);
Shared\MS\Win32\NativeMethodsCLR.cs (5)
1868
TTM_SETTITLEA =((int)
WindowMessage
.WM_USER + 32), // wParam = TTI_*, lParam = char* szTitle
1869
TTM_SETTITLEW =((int)
WindowMessage
.WM_USER + 33), // wParam = TTI_*, lParam = wchar* szTitle
2121
WM_REFLECT = (int)
WindowMessage
.WM_USER + 0x1C00,
2122
WM_CHOOSEFONT_GETLOGFONT = (int)
WindowMessage
.WM_USER +1,
3947
public const int CDM_FIRST = (int)
WindowMessage
.WM_USER + 100;
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (6)
147
public static extern
WindowMessage
RegisterWindowMessage(string msg);
1551
public static extern bool PeekMessage([In, Out] ref System.Windows.Interop.MSG msg, HandleRef hwnd,
WindowMessage
msgMin,
WindowMessage
msgMax, int remove);
1566
private static extern bool IntPostMessage(HandleRef hwnd,
WindowMessage
msg, IntPtr wparam, IntPtr lparam);
1572
internal static void PostMessage(HandleRef hwnd,
WindowMessage
msg, IntPtr wparam, IntPtr lparam)
1586
internal static extern bool TryPostMessage(HandleRef hwnd,
WindowMessage
msg, IntPtr wparam, IntPtr lparam);
Shared\MS\Win32\UnsafeNativeMethodsOther.cs (6)
385
private static extern bool IntChangeWindowMessageFilter(
WindowMessage
message, MSGFLT dwFlag);
393
private static extern bool IntChangeWindowMessageFilterEx(IntPtr hwnd,
WindowMessage
message, MSGFLT action, [In, Out, Optional] ref CHANGEFILTERSTRUCT pChangeFilterStruct);
401
internal static MS.Internal.Interop.HRESULT ChangeWindowMessageFilterEx(IntPtr hwnd,
WindowMessage
message, MSGFLT action, out MSGFLTINFO extStatus)
471
internal static extern IntPtr SendMessage(IntPtr hWnd,
WindowMessage
msg, IntPtr wParam, IntPtr lParam);
482
internal static extern IntPtr UnsafeSendMessage(IntPtr hWnd,
WindowMessage
msg, IntPtr wParam, IntPtr lParam);
512
internal static extern IntPtr SendMessage( HandleRef hWnd,
WindowMessage
msg, IntPtr wParam, NativeMethods.IconHandle iconHandle );