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