47 references to WM
PresentationFramework (47)
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (29)
24
using HANDLE_MESSAGE = System.Collections.Generic.KeyValuePair<Standard.
WM
, Standard.MessageHandler>;
91
new HANDLE_MESSAGE(
WM
.SETTEXT, _HandleSetTextOrIcon),
92
new HANDLE_MESSAGE(
WM
.SETICON, _HandleSetTextOrIcon),
93
new HANDLE_MESSAGE(
WM
.NCACTIVATE, _HandleNCActivate),
94
new HANDLE_MESSAGE(
WM
.NCCALCSIZE, _HandleNCCalcSize),
95
new HANDLE_MESSAGE(
WM
.NCHITTEST, _HandleNCHitTest),
96
new HANDLE_MESSAGE(
WM
.NCRBUTTONUP, _HandleNCRButtonUp),
97
new HANDLE_MESSAGE(
WM
.SIZE, _HandleSize),
98
new HANDLE_MESSAGE(
WM
.WINDOWPOSCHANGED, _HandleWindowPosChanged),
99
new HANDLE_MESSAGE(
WM
.DWMCOMPOSITIONCHANGED, _HandleDwmCompositionChanged),
106
new HANDLE_MESSAGE(
WM
.SETTINGCHANGE, _HandleSettingChange),
107
new HANDLE_MESSAGE(
WM
.ENTERSIZEMOVE, _HandleEnterSizeMove),
108
new HANDLE_MESSAGE(
WM
.EXITSIZEMOVE, _HandleExitSizeMove),
109
new HANDLE_MESSAGE(
WM
.MOVE, _HandleMove),
620
var
message = (
WM
)msg;
635
private IntPtr _HandleSetTextOrIcon(
WM
uMsg, IntPtr wParam, IntPtr lParam, out bool handled)
657
private IntPtr _HandleNCActivate(
WM
uMsg, IntPtr wParam, IntPtr lParam, out bool handled)
664
IntPtr lRet = NativeMethods.DefWindowProc(_hwnd,
WM
.NCACTIVATE, wParam, new IntPtr(-1));
682
private IntPtr _HandleNCCalcSize(
WM
uMsg, IntPtr wParam, IntPtr lParam, out bool handled)
764
private IntPtr _HandleNCHitTest(
WM
uMsg, IntPtr wParam, IntPtr lParam, out bool handled)
825
private IntPtr _HandleNCRButtonUp(
WM
uMsg, IntPtr wParam, IntPtr lParam, out bool handled)
841
private IntPtr _HandleSize(
WM
uMsg, IntPtr wParam, IntPtr lParam, out bool handled)
865
private IntPtr _HandleWindowPosChanged(
WM
uMsg, IntPtr wParam, IntPtr lParam, out bool handled)
898
private IntPtr _HandleDwmCompositionChanged(
WM
uMsg, IntPtr wParam, IntPtr lParam, out bool handled)
910
private IntPtr _HandleSettingChange(
WM
uMsg, IntPtr wParam, IntPtr lParam, out bool handled)
926
private IntPtr _HandleEnterSizeMove(
WM
uMsg, IntPtr wParam, IntPtr lParam, out bool handled)
953
private IntPtr _HandleExitSizeMove(
WM
uMsg, IntPtr wParam, IntPtr lParam, out bool handled)
973
private IntPtr _HandleMove(
WM
uMsg, IntPtr wParam, IntPtr lParam, out bool handled)
src\Framework\System\Windows\Standard\MessageWindow.cs (3)
194
private static IntPtr _WndProc(IntPtr hwnd,
WM
msg, IntPtr wParam, IntPtr lParam)
199
if (msg ==
WM
.CREATE)
225
if (msg ==
WM
.NCDESTROY)
src\Framework\System\Windows\Standard\NativeMethods.cs (13)
2400
internal delegate IntPtr WndProc(IntPtr hwnd,
WM
uMsg, IntPtr wParam, IntPtr lParam);
2403
internal delegate IntPtr WndProcHook(IntPtr hwnd,
WM
uMsg, IntPtr wParam, IntPtr lParam, ref bool handled);
2406
internal delegate IntPtr MessageHandler(
WM
uMsg, IntPtr wParam, IntPtr lParam, out bool handled);
2442
private static extern bool _ChangeWindowMessageFilter(
WM
message, MSGFLT dwFlag);
2451
private static extern bool _ChangeWindowMessageFilterEx(IntPtr hwnd,
WM
message, MSGFLT action, [In, Out, Optional] ref CHANGEFILTERSTRUCT pChangeFilterStruct);
2460
public static HRESULT ChangeWindowMessageFilterEx(IntPtr hwnd,
WM
message, MSGFLT action, out MSGFLTINFO filterInfo)
2723
public static extern IntPtr DefWindowProc(IntPtr hWnd,
WM
Msg, IntPtr wParam, IntPtr lParam);
2833
public static extern bool DwmDefWindowProc(IntPtr hwnd,
WM
msg, IntPtr wParam, IntPtr lParam, out IntPtr plResult);
3340
private static extern bool _PostMessage(IntPtr hWnd,
WM
Msg, IntPtr wParam, IntPtr lParam);
3347
public static void PostMessage(IntPtr hWnd,
WM
Msg, IntPtr wParam, IntPtr lParam)
3395
public static
WM
RegisterWindowMessage(string lpString)
3402
return (
WM
)iRet;
3719
public static extern IntPtr SendMessage(IntPtr hWnd,
WM
Msg, IntPtr wParam, IntPtr lParam);
src\Framework\System\Windows\SystemCommands.cs (2)
40
NativeMethods.PostMessage(hwnd,
WM
.SYSCOMMAND, new IntPtr((int)command), IntPtr.Zero);
127
NativeMethods.PostMessage(hwnd,
WM
.SYSCOMMAND, new IntPtr(cmd), IntPtr.Zero);