39 references to WM
PresentationFramework (39)
System\Windows\Shell\WindowChromeWorker.cs (21)
14using HANDLE_MESSAGE = System.Collections.Generic.KeyValuePair<Standard.WM, Standard.MessageHandler>; 63new HANDLE_MESSAGE(WM.SETTEXT, _HandleSetTextOrIcon), 64new HANDLE_MESSAGE(WM.SETICON, _HandleSetTextOrIcon), 65new HANDLE_MESSAGE(WM.NCACTIVATE, _HandleNCActivate), 66new HANDLE_MESSAGE(WM.NCCALCSIZE, _HandleNCCalcSize), 67new HANDLE_MESSAGE(WM.NCHITTEST, _HandleNCHitTest), 68new HANDLE_MESSAGE(WM.NCRBUTTONUP, _HandleNCRButtonUp), 69new HANDLE_MESSAGE(WM.SIZE, _HandleSize), 70new HANDLE_MESSAGE(WM.WINDOWPOSCHANGED, _HandleWindowPosChanged), 71new HANDLE_MESSAGE(WM.DWMCOMPOSITIONCHANGED, _HandleDwmCompositionChanged), 350var message = (WM)msg; 361private IntPtr _HandleSetTextOrIcon(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled) 379private IntPtr _HandleNCActivate(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled) 386IntPtr lRet = NativeMethods.DefWindowProc(_hwnd, WM.NCACTIVATE, wParam, new IntPtr(-1)); 400private IntPtr _HandleNCCalcSize(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled) 478private IntPtr _HandleNCHitTest(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled) 535private IntPtr _HandleNCRButtonUp(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled) 547private IntPtr _HandleSize(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled) 567private IntPtr _HandleWindowPosChanged(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled) 596private IntPtr _HandleDwmCompositionChanged(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled)
System\Windows\Standard\MessageWindow.cs (3)
142private static IntPtr _WndProc(IntPtr hwnd, WM msg, IntPtr wParam, IntPtr lParam) 147if (msg == WM.CREATE) 173if (msg == WM.NCDESTROY)
System\Windows\Standard\NativeMethods.cs (13)
2274internal delegate IntPtr WndProc(IntPtr hwnd, WM uMsg, IntPtr wParam, IntPtr lParam); 2277internal delegate IntPtr WndProcHook(IntPtr hwnd, WM uMsg, IntPtr wParam, IntPtr lParam, ref bool handled); 2280internal delegate IntPtr MessageHandler(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled); 2302private static extern bool _ChangeWindowMessageFilter(WM message, MSGFLT dwFlag); 2306private static extern bool _ChangeWindowMessageFilterEx(IntPtr hwnd, WM message, MSGFLT action, [In, Out, Optional] ref CHANGEFILTERSTRUCT pChangeFilterStruct); 2310public static HRESULT ChangeWindowMessageFilterEx(IntPtr hwnd, WM message, MSGFLT action, out MSGFLTINFO filterInfo) 2492public static extern IntPtr DefWindowProc(IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam); 2556public static extern bool DwmDefWindowProc(IntPtr hwnd, WM msg, IntPtr wParam, IntPtr lParam, out IntPtr plResult); 2861private static extern bool _PostMessage(IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam); 2863public static void PostMessage(IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam) 2891public static WM RegisterWindowMessage(string lpString) 2898return (WM)iRet; 3075public static extern IntPtr SendMessage(IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam);
System\Windows\SystemCommands.cs (2)
37NativeMethods.PostMessage(hwnd, WM.SYSCOMMAND, new IntPtr((int)command), IntPtr.Zero); 91NativeMethods.PostMessage(hwnd, WM.SYSCOMMAND, new IntPtr(cmd), IntPtr.Zero);