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