41 references to NativeMethods
WindowsFormsIntegration (41)
System\Windows\Integration\ApplicationInterop.cs (10)
113
if (m.Msg ==
NativeMethods
.WM_SYSCHAR)
123
if (m.Msg ==
NativeMethods
.WM_CHAR)
272
case
NativeMethods
.WM_KEYDOWN: //0x100
273
case
NativeMethods
.WM_KEYUP: //0x101
274
case
NativeMethods
.WM_CHAR: //0x102
275
case
NativeMethods
.WM_DEADCHAR: //0x103
276
case
NativeMethods
.WM_SYSKEYDOWN: //0x104
277
case
NativeMethods
.WM_SYSKEYUP: //0x105
278
case
NativeMethods
.WM_SYSCHAR: //0x106
279
case
NativeMethods
.WM_SYSDEADCHAR: //0x107
System\Windows\Integration\ElementHost.cs (17)
599
case
NativeMethods
.WM_SETFOCUS:
611
case
NativeMethods
.WM_KILLFOCUS:
618
case
NativeMethods
.WM_INPUTLANGCHANGE:
622
case
NativeMethods
.WM_IME_NOTIFY:
635
SafeNativeMethods.SetWindowPos(_hwndSource.Handle,
NativeMethods
.HWND_TOP, 0, 0, this.Width, this.Height, 0);
738
if (wParam == (IntPtr)
NativeMethods
.IMN_SETCONVERSIONMODE || wParam == (IntPtr)
NativeMethods
.IMN_SETOPENSTATUS)
778
case
NativeMethods
.WM_MOVE:
779
case
NativeMethods
.WM_SIZE:
780
case
NativeMethods
.WM_WINDOWPOSCHANGED:
781
case
NativeMethods
.WM_WINDOWPOSCHANGING:
785
case
NativeMethods
.WM_PARENTNOTIFY:
786
case
NativeMethods
.WM_REFLECT +
NativeMethods
.WM_PARENTNOTIFY:
788
if (HostUtils.LOWORD(m.WParam) ==
NativeMethods
.WM_CREATE)
793
case
NativeMethods
.WM_SETREDRAW:
799
case
NativeMethods
.WM_KILLFOCUS:
System\Windows\Integration\HostUtils.cs (2)
382
NativeMethods
.LOGPIXELSX :
383
NativeMethods
.LOGPIXELSY);
System\Windows\Integration\WindowsFormsHost.cs (12)
128
case
NativeMethods
.WM_CHILDACTIVATE:
131
case
NativeMethods
.WM_SETFOCUS:
132
case
NativeMethods
.WM_MOUSEACTIVATE:
135
case
NativeMethods
.WM_GETOBJECT:
867
UpdateUIState(
NativeMethods
.UIS_INITIALIZE);
963
if (!hasFocus && msg.Msg ==
NativeMethods
.WM_CHAR)
981
UpdateUIState(
NativeMethods
.UIS_SET);
991
Debug.Assert(uiAction ==
NativeMethods
.UIS_INITIALIZE || uiAction ==
NativeMethods
.UIS_SET, "Unexpected uiAction");
992
int toSet =
NativeMethods
.UISF_HIDEACCEL |
NativeMethods
.UISF_HIDEFOCUS;
994
NativeMethods
.WM_UPDATEUISTATE,