4 instantiations of MSG
PresentationCore (1)
Core\CSharp\System\Windows\Interop\HwndSource.cs (1)
1844_lastKeyboardMessage = new MSG();
PresentationFramework (1)
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
1660System.Windows.Interop.MSG message = new System.Windows.Interop.MSG();
WindowsBase (2)
Base\System\Windows\Threading\Dispatcher.cs (2)
2313MSG msg = new MSG(); 2648MSG msg = new MSG();
60 references to MSG
PresentationCore (15)
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (4)
279MSG msg = new MSG(hwnd, (int)message, wParam, lParam, _msgTime, 0, 0); 307MSG msg = new MSG(hwnd, (int)message, wParam, lParam, _msgTime, 0, 0); 580internal void ProcessKeyAction(ref MSG msg, ref bool handled) 583MSG previousMSG = ComponentDispatcher.UnsecureCurrentKeyboardMessage;
Core\CSharp\System\Windows\Interop\HwndSource.cs (11)
1966public MSG msg; 1979private void OnPreprocessMessageThunk(ref MSG msg, ref bool handled) 2238protected virtual bool TranslateAcceleratorCore(ref MSG msg, ModifierKeys modifiers) 2251bool IKeyboardInputSink.TranslateAccelerator(ref MSG msg, ModifierKeys modifiers) 2364protected virtual bool OnMnemonicCore(ref MSG msg, ModifierKeys modifiers) 2448bool IKeyboardInputSink.OnMnemonic(ref MSG msg, ModifierKeys modifiers) 2468protected virtual bool TranslateCharCore(ref MSG msg, ModifierKeys modifiers) 2487bool IKeyboardInputSink.TranslateChar(ref MSG msg, ModifierKeys modifiers) 2625internal bool CriticalTranslateAccelerator(ref MSG msg, ModifierKeys modifiers) 3145public void OnPreprocessMessage(ref MSG msg, ref bool handled) 3256private MSG _lastKeyboardMessage;
PresentationFramework (17)
src\Framework\MS\Internal\Controls\ActiveXContainer.cs (1)
251int UnsafeNativeMethods.IOleInPlaceFrame.TranslateAccelerator(ref MSG lpmsg, short wID)
src\Framework\MS\Internal\Controls\ActiveXSite.cs (1)
123int UnsafeNativeMethods.IOleControlSite.TranslateAccelerator(ref MSG pMsg, int grfModifiers)
src\Framework\MS\Internal\Controls\WebBrowserSite.cs (2)
211int UnsafeNativeMethods.IDocHostUIHandler.TranslateAccelerator(ref System.Windows.Interop.MSG msg, ref Guid group, int nCmdID) 262int UnsafeNativeMethods.IOleControlSite.TranslateAccelerator(ref MSG msg, int grfModifiers)
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
1305protected override bool TranslateAcceleratorCore(ref MSG msg, ModifierKeys modifiers)
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
1660System.Windows.Interop.MSG message = new System.Windows.Interop.MSG();
src\Framework\System\Windows\Interop\BrowserInteropHelper.cs (3)
320private static void HostFilterInput(ref MSG msg, ref bool handled) 348MSG m = new MSG(hwnd, msg, wParam, lParam, SafeNativeMethods.GetMessageTime(), 0, 0); 420private static extern int ForwardTranslateAccelerator(ref MSG pMsg, bool appUnhandled);
src\Framework\System\Windows\Interop\HwndHost.cs (8)
168MSG msg; 208MSG msg; 292protected virtual bool TranslateAcceleratorCore(ref MSG msg, ModifierKeys modifiers) 303bool IKeyboardInputSink.TranslateAccelerator(ref MSG msg, ModifierKeys modifiers) 351protected virtual bool OnMnemonicCore(ref MSG msg, ModifierKeys modifiers) 362bool IKeyboardInputSink.OnMnemonic(ref MSG msg, ModifierKeys modifiers) 383protected virtual bool TranslateCharCore(ref MSG msg, ModifierKeys modifiers) 394bool IKeyboardInputSink.TranslateChar(ref MSG msg, ModifierKeys modifiers)
WindowsBase (28)
Base\System\Windows\Interop\ComponentDispatcher.cs (4)
23public delegate void ThreadMessageEventHandler(ref MSG msg, ref bool handled); 94public static MSG CurrentKeyboardMessage 110internal static MSG UnsecureCurrentKeyboardMessage 222public static bool RaiseThreadMessage(ref MSG msg)
Base\System\Windows\Interop\ComponentDispatcherThread.cs (3)
39public MSG CurrentKeyboardMessage 110public bool RaiseThreadMessage(ref MSG msg) 311private MSG _currentKeyboardMSG;
Base\System\Windows\Interop\IKeyboardInputSink.cs (3)
52bool TranslateAccelerator(ref MSG msg, ModifierKeys modifiers); 98bool OnMnemonic(ref MSG msg, ModifierKeys modifiers); 116bool TranslateChar(ref MSG msg, ModifierKeys modifiers);
Base\System\Windows\Threading\Dispatcher.cs (4)
2313MSG msg = new MSG(); 2365private bool GetMessage(ref MSG msg, IntPtr hwnd, int minMessage, int maxMessage) 2471private void TranslateAndDispatchMessage(ref MSG msg) 2648MSG msg = new MSG();
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (10)
511public static extern bool TranslateMessage([In, Out] ref System.Windows.Interop.MSG msg); 520public static extern IntPtr DispatchMessage([In] ref System.Windows.Interop.MSG msg); 1551public static extern bool PeekMessage([In, Out] ref System.Windows.Interop.MSG msg, HandleRef hwnd, WindowMessage msgMin, WindowMessage msgMax, int remove); 1992private static extern int IntGetMessageW([In, Out] ref System.Windows.Interop.MSG msg, HandleRef hWnd, int uMsgFilterMin, int uMsgFilterMax); 1997public static bool GetMessageW([In, Out] ref System.Windows.Interop.MSG msg, HandleRef hWnd, int uMsgFilterMin, int uMsgFilterMax) 2257ref System.Windows.Interop.MSG pMsg, 2500ref System.Windows.Interop.MSG lpmsg, 2622ref System.Windows.Interop.MSG lpmsg); 2994ref System.Windows.Interop.MSG pMsg); 3771ref System.Windows.Interop.MSG msg,
Shared\MS\Win32\UnsafeNativeMethodsTextServices.cs (4)
987void PeekMessageA(ref System.Windows.Interop.MSG msg, 1004void GetMessageA(ref System.Windows.Interop.MSG msg, 1021void PeekMessageW(ref System.Windows.Interop.MSG msg, 1038void GetMessageW(ref System.Windows.Interop.MSG msg,