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