25 references to PreProcessControlState
System.Windows.Forms (21)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3207
if (PreProcessControlMessage(ref m) !=
PreProcessControlState
.MessageProcessed)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (4)
1872
PreProcessControlState
messageState = PreProcessControlMessageInternal(target, ref msg);
1875
case
PreProcessControlState
.MessageProcessed:
1882
case
PreProcessControlState
.MessageNeeded:
1898
case
PreProcessControlState
.MessageNotNeeded:
System\Windows\Forms\Application.ThreadContext.cs (2)
962
if (Control.PreProcessControlMessageInternal(target, ref m) ==
PreProcessControlState
.MessageProcessed)
971
if (Control.PreProcessControlMessageInternal(target, ref m) ==
PreProcessControlState
.MessageProcessed)
System\Windows\Forms\Control.cs (9)
8582
public
PreProcessControlState
PreProcessControlMessage(ref Message msg)
8585
internal static
PreProcessControlState
PreProcessControlMessageInternal(Control? target, ref Message message)
8591
return
PreProcessControlState
.MessageNotNeeded;
8614
return
PreProcessControlState
.MessageNeeded;
8618
PreProcessControlState
state =
PreProcessControlState
.MessageNotNeeded;
8628
state =
PreProcessControlState
.MessageNeeded;
8637
state =
PreProcessControlState
.MessageNeeded;
8643
state =
PreProcessControlState
.MessageProcessed;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (4)
1399
if (PreProcessControlMessage(ref m) !=
PreProcessControlState
.MessageProcessed)
1418
if (PreProcessControlMessage(ref m) !=
PreProcessControlState
.MessageProcessed)
1458
if (PreProcessControlMessage(ref m) !=
PreProcessControlState
.MessageProcessed)
1483
if (PreProcessControlMessage(ref m) !=
PreProcessControlState
.MessageProcessed)
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (1)
146
bool f = Host.PreProcessControlMessage(ref msg) ==
PreProcessControlState
.MessageProcessed;
WindowsFormsIntegration (4)
System\Windows\Integration\ApplicationInterop.cs (4)
119
SWF.
PreProcessControlState
processedState = control.PreProcessControlMessage(ref m);
121
if (processedState == SWF.
PreProcessControlState
.MessageNeeded)
139
else if (processedState == SWF.
PreProcessControlState
.MessageProcessed)
147
Debug.Assert(processedState == SWF.
PreProcessControlState
.MessageNotNeeded, "invalid state");