41 references to NativeMethods
WindowsFormsIntegration (41)
System\Windows\Integration\ApplicationInterop.cs (10)
111
if (m.Msg ==
NativeMethods
.WM_SYSCHAR)
121
if (m.Msg ==
NativeMethods
.WM_CHAR)
270
case
NativeMethods
.WM_KEYDOWN: //0x100
271
case
NativeMethods
.WM_KEYUP: //0x101
272
case
NativeMethods
.WM_CHAR: //0x102
273
case
NativeMethods
.WM_DEADCHAR: //0x103
274
case
NativeMethods
.WM_SYSKEYDOWN: //0x104
275
case
NativeMethods
.WM_SYSKEYUP: //0x105
276
case
NativeMethods
.WM_SYSCHAR: //0x106
277
case
NativeMethods
.WM_SYSDEADCHAR: //0x107
System\Windows\Integration\ElementHost.cs (17)
596
case
NativeMethods
.WM_SETFOCUS:
608
case
NativeMethods
.WM_KILLFOCUS:
615
case
NativeMethods
.WM_INPUTLANGCHANGE:
619
case
NativeMethods
.WM_IME_NOTIFY:
632
SafeNativeMethods.SetWindowPos(_hwndSource.Handle,
NativeMethods
.HWND_TOP, 0, 0, this.Width, this.Height, 0);
735
if (wParam == (IntPtr)
NativeMethods
.IMN_SETCONVERSIONMODE || wParam == (IntPtr)
NativeMethods
.IMN_SETOPENSTATUS)
775
case
NativeMethods
.WM_MOVE:
776
case
NativeMethods
.WM_SIZE:
777
case
NativeMethods
.WM_WINDOWPOSCHANGED:
778
case
NativeMethods
.WM_WINDOWPOSCHANGING:
782
case
NativeMethods
.WM_PARENTNOTIFY:
783
case
NativeMethods
.WM_REFLECT +
NativeMethods
.WM_PARENTNOTIFY:
785
if (HostUtils.LOWORD(m.WParam) ==
NativeMethods
.WM_CREATE)
790
case
NativeMethods
.WM_SETREDRAW:
796
case
NativeMethods
.WM_KILLFOCUS:
System\Windows\Integration\HostUtils.cs (2)
378
NativeMethods
.LOGPIXELSX :
379
NativeMethods
.LOGPIXELSY);
System\Windows\Integration\WindowsFormsHost.cs (12)
126
case
NativeMethods
.WM_CHILDACTIVATE:
129
case
NativeMethods
.WM_SETFOCUS:
130
case
NativeMethods
.WM_MOUSEACTIVATE:
133
case
NativeMethods
.WM_GETOBJECT:
865
UpdateUIState(
NativeMethods
.UIS_INITIALIZE);
961
if (!hasFocus && msg.Msg ==
NativeMethods
.WM_CHAR)
979
UpdateUIState(
NativeMethods
.UIS_SET);
989
Debug.Assert(uiAction ==
NativeMethods
.UIS_INITIALIZE || uiAction ==
NativeMethods
.UIS_SET, "Unexpected uiAction");
990
int toSet =
NativeMethods
.UISF_HIDEACCEL |
NativeMethods
.UISF_HIDEFOCUS;
992
NativeMethods
.WM_UPDATEUISTATE,