5 implementations of PreFilterMessage
System.Windows.Forms (4)
System\Windows\Forms\Controls\Splitter\Splitter.SplitterMessageFilter.cs (1)
19
public bool
PreFilterMessage
(ref Message m)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.RestoreFocusMessageFilter.cs (1)
17
public bool
PreFilterMessage
(ref Message m)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (1)
520
public bool
PreFilterMessage
(ref Message m)
System\Windows\Forms\Layout\Containers\SplitContainer.SplitContainerMessageFilter.cs (1)
17
bool IMessageFilter.
PreFilterMessage
(ref Message m)
WindowsFormsIntegration (1)
System\Windows\Integration\ApplicationInterop.cs (1)
261
public bool
PreFilterMessage
(ref SWF.Message msg)
13 references to PreFilterMessage
System.Windows.Forms (1)
System\Windows\Forms\Application.ThreadContext.cs (1)
887
bool filterMessage = filter.
PreFilterMessage
(ref message);
System.Windows.Forms.Tests (12)
ThreadContextTests.cs (12)
34
mockContext.Setup(c => c.
PreFilterMessage
(ref It.Ref<Message>.IsAny))
43
mockContext.Verify(c => c.
PreFilterMessage
(ref It.Ref<Message>.IsAny), Times.Exactly(1));
54
mockContext.Setup(c => c.
PreFilterMessage
(ref It.Ref<Message>.IsAny))
63
mockContext.Verify(c => c.
PreFilterMessage
(ref It.Ref<Message>.IsAny), Times.Exactly(1));
74
mockContext2.Setup(c => c.
PreFilterMessage
(ref It.Ref<Message>.IsAny))
80
mockContext3.Setup(c => c.
PreFilterMessage
(ref It.Ref<Message>.IsAny))
90
mockContext2.Verify(c => c.
PreFilterMessage
(ref It.Ref<Message>.IsAny), Times.Exactly(1));
91
mockContext3.Verify(c => c.
PreFilterMessage
(ref It.Ref<Message>.IsAny), Times.Exactly(1));
99
mockContext2.Verify(c => c.
PreFilterMessage
(ref It.Ref<Message>.IsAny), Times.Exactly(2));
100
mockContext3.Verify(c => c.
PreFilterMessage
(ref It.Ref<Message>.IsAny), Times.Exactly(1));
108
mockContext2.Verify(c => c.
PreFilterMessage
(ref It.Ref<Message>.IsAny), Times.Exactly(3));
109
mockContext3.Verify(c => c.
PreFilterMessage
(ref It.Ref<Message>.IsAny), Times.Exactly(2));