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