4 overrides of PreProcessMessage
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.cs (1)
1666public override unsafe bool PreProcessMessage(ref Message msg)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
217public override unsafe bool PreProcessMessage(ref Message msg)
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
410public override bool PreProcessMessage(ref Message msg)
System.Windows.Forms.Tests (1)
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
999public override bool PreProcessMessage(ref Message msg)
19 references to PreProcessMessage
System.Windows.Forms (14)
System\Windows\Forms\ActiveX\AxHost.cs (3)
1681return base.PreProcessMessage(ref msg); 1713return base.PreProcessMessage(ref msg); 1722return _axState[s_siteProcessedInputKey] && base.PreProcessMessage(ref msg);
System\Windows\Forms\Control.cs (4)
8564/// <see cref="PreProcessControlMessage(ref Message)"/> calls <see cref="PreProcessMessage(ref Message)"/> 8567/// to forward input messages when <see cref="PreProcessMessage(ref Message)"/> indicates it did not handle 8615if (!target.PreProcessMessage(ref message)) 12129/// <see cref="PreProcessMessage(ref Message)"/> method.
System\Windows\Forms\Control.ExtendedStates.cs (2)
45/// Used to flag that <see cref="IsInputKey(Keys)"/> returned true in <see cref="PreProcessMessage(ref Message)" /> 51/// Used to flag that <see cref="IsInputChar(char)"/> returned true in <see cref="PreProcessMessage(ref Message)" />
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (3)
239return base.PreProcessMessage(ref msg); 276ret = base.PreProcessMessage(ref msg); 287return base.PreProcessMessage(ref msg);
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
417return base.PreProcessMessage(ref msg);
System\Windows\Forms\Design\ComponentEditorPage.cs (1)
164public virtual bool IsPageMessage(ref Message msg) => PreProcessMessage(ref msg);
System.Windows.Forms.Tests (3)
System\Windows\Forms\ControlTests.Methods.cs (3)
5355Assert.False(control.PreProcessMessage(ref msg)); 5373Assert.False(control.PreProcessMessage(ref msg)); 5487Assert.Equal(expectedResult, control.PreProcessMessage(ref msg));
WindowsFormsIntegration (2)
System\Windows\Integration\ApplicationInterop.cs (1)
115handled = control.PreProcessMessage(ref m);
System\Windows\Integration\WindowsFormsHost.cs (1)
967return PreProcessMessage(ref msg);