41 references to NativeMethods
WindowsFormsIntegration (41)
System\Windows\Integration\ApplicationInterop.cs (10)
110
if (m.Msg ==
NativeMethods
.WM_SYSCHAR)
120
if (m.Msg ==
NativeMethods
.WM_CHAR)
269
case
NativeMethods
.WM_KEYDOWN: //0x100
270
case
NativeMethods
.WM_KEYUP: //0x101
271
case
NativeMethods
.WM_CHAR: //0x102
272
case
NativeMethods
.WM_DEADCHAR: //0x103
273
case
NativeMethods
.WM_SYSKEYDOWN: //0x104
274
case
NativeMethods
.WM_SYSKEYUP: //0x105
275
case
NativeMethods
.WM_SYSCHAR: //0x106
276
case
NativeMethods
.WM_SYSDEADCHAR: //0x107
System\Windows\Integration\ElementHost.cs (17)
595
case
NativeMethods
.WM_SETFOCUS:
607
case
NativeMethods
.WM_KILLFOCUS:
614
case
NativeMethods
.WM_INPUTLANGCHANGE:
618
case
NativeMethods
.WM_IME_NOTIFY:
631
SafeNativeMethods.SetWindowPos(_hwndSource.Handle,
NativeMethods
.HWND_TOP, 0, 0, this.Width, this.Height, 0);
734
if (wParam == (IntPtr)
NativeMethods
.IMN_SETCONVERSIONMODE || wParam == (IntPtr)
NativeMethods
.IMN_SETOPENSTATUS)
774
case
NativeMethods
.WM_MOVE:
775
case
NativeMethods
.WM_SIZE:
776
case
NativeMethods
.WM_WINDOWPOSCHANGED:
777
case
NativeMethods
.WM_WINDOWPOSCHANGING:
781
case
NativeMethods
.WM_PARENTNOTIFY:
782
case
NativeMethods
.WM_REFLECT +
NativeMethods
.WM_PARENTNOTIFY:
784
if (HostUtils.LOWORD(m.WParam) ==
NativeMethods
.WM_CREATE)
789
case
NativeMethods
.WM_SETREDRAW:
795
case
NativeMethods
.WM_KILLFOCUS:
System\Windows\Integration\HostUtils.cs (2)
377
NativeMethods
.LOGPIXELSX :
378
NativeMethods
.LOGPIXELSY);
System\Windows\Integration\WindowsFormsHost.cs (12)
125
case
NativeMethods
.WM_CHILDACTIVATE:
128
case
NativeMethods
.WM_SETFOCUS:
129
case
NativeMethods
.WM_MOUSEACTIVATE:
132
case
NativeMethods
.WM_GETOBJECT:
843
UpdateUIState(
NativeMethods
.UIS_INITIALIZE);
939
if (!hasFocus && msg.Msg ==
NativeMethods
.WM_CHAR)
957
UpdateUIState(
NativeMethods
.UIS_SET);
967
Debug.Assert(uiAction ==
NativeMethods
.UIS_INITIALIZE || uiAction ==
NativeMethods
.UIS_SET, "Unexpected uiAction");
968
int toSet =
NativeMethods
.UISF_HIDEACCEL |
NativeMethods
.UISF_HIDEFOCUS;
970
NativeMethods
.WM_UPDATEUISTATE,