39 references to WM
PresentationFramework (39)
System\Windows\Shell\WindowChromeWorker.cs (21)
25using HANDLE_MESSAGE = System.Collections.Generic.KeyValuePair<Standard.WM, Standard.MessageHandler>; 68new HANDLE_MESSAGE(WM.SETTEXT, _HandleSetTextOrIcon), 69new HANDLE_MESSAGE(WM.SETICON, _HandleSetTextOrIcon), 70new HANDLE_MESSAGE(WM.NCACTIVATE, _HandleNCActivate), 71new HANDLE_MESSAGE(WM.NCCALCSIZE, _HandleNCCalcSize), 72new HANDLE_MESSAGE(WM.NCHITTEST, _HandleNCHitTest), 73new HANDLE_MESSAGE(WM.NCRBUTTONUP, _HandleNCRButtonUp), 74new HANDLE_MESSAGE(WM.SIZE, _HandleSize), 75new HANDLE_MESSAGE(WM.WINDOWPOSCHANGED, _HandleWindowPosChanged), 76new HANDLE_MESSAGE(WM.DWMCOMPOSITIONCHANGED, _HandleDwmCompositionChanged), 355var message = (WM)msg; 366private IntPtr _HandleSetTextOrIcon(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled) 384private IntPtr _HandleNCActivate(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled) 391IntPtr lRet = NativeMethods.DefWindowProc(_hwnd, WM.NCACTIVATE, wParam, new IntPtr(-1)); 405private IntPtr _HandleNCCalcSize(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled) 483private IntPtr _HandleNCHitTest(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled) 540private IntPtr _HandleNCRButtonUp(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled) 552private IntPtr _HandleSize(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled) 572private IntPtr _HandleWindowPosChanged(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled) 601private IntPtr _HandleDwmCompositionChanged(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled)
System\Windows\Standard\MessageWindow.cs (3)
145private static IntPtr _WndProc(IntPtr hwnd, WM msg, IntPtr wParam, IntPtr lParam) 150if (msg == WM.CREATE) 176if (msg == WM.NCDESTROY)
System\Windows\Standard\NativeMethods.cs (13)
2275internal delegate IntPtr WndProc(IntPtr hwnd, WM uMsg, IntPtr wParam, IntPtr lParam); 2278internal delegate IntPtr WndProcHook(IntPtr hwnd, WM uMsg, IntPtr wParam, IntPtr lParam, ref bool handled); 2281internal delegate IntPtr MessageHandler(WM uMsg, IntPtr wParam, IntPtr lParam, out bool handled); 2303private static extern bool _ChangeWindowMessageFilter(WM message, MSGFLT dwFlag); 2307private static extern bool _ChangeWindowMessageFilterEx(IntPtr hwnd, WM message, MSGFLT action, [In, Out, Optional] ref CHANGEFILTERSTRUCT pChangeFilterStruct); 2311public static HRESULT ChangeWindowMessageFilterEx(IntPtr hwnd, WM message, MSGFLT action, out MSGFLTINFO filterInfo) 2493public static extern IntPtr DefWindowProc(IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam); 2557public static extern bool DwmDefWindowProc(IntPtr hwnd, WM msg, IntPtr wParam, IntPtr lParam, out IntPtr plResult); 2862private static extern bool _PostMessage(IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam); 2864public static void PostMessage(IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam) 2892public static WM RegisterWindowMessage(string lpString) 2899return (WM)iRet; 3076public static extern IntPtr SendMessage(IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam);
System\Windows\SystemCommands.cs (2)
39NativeMethods.PostMessage(hwnd, WM.SYSCOMMAND, new IntPtr((int)command), IntPtr.Zero); 93NativeMethods.PostMessage(hwnd, WM.SYSCOMMAND, new IntPtr(cmd), IntPtr.Zero);