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