25 references to PreProcessControlState
System.Windows.Forms (21)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3174
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)
961
if (Control.PreProcessControlMessageInternal(target, ref m) ==
PreProcessControlState
.MessageProcessed)
970
if (Control.PreProcessControlMessageInternal(target, ref m) ==
PreProcessControlState
.MessageProcessed)
System\Windows\Forms\Control.cs (9)
8577
public
PreProcessControlState
PreProcessControlMessage(ref Message msg)
8580
internal static
PreProcessControlState
PreProcessControlMessageInternal(Control? target, ref Message message)
8586
return
PreProcessControlState
.MessageNotNeeded;
8609
return
PreProcessControlState
.MessageNeeded;
8613
PreProcessControlState
state =
PreProcessControlState
.MessageNotNeeded;
8623
state =
PreProcessControlState
.MessageNeeded;
8632
state =
PreProcessControlState
.MessageNeeded;
8638
state =
PreProcessControlState
.MessageProcessed;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (4)
1400
if (PreProcessControlMessage(ref m) !=
PreProcessControlState
.MessageProcessed)
1419
if (PreProcessControlMessage(ref m) !=
PreProcessControlState
.MessageProcessed)
1459
if (PreProcessControlMessage(ref m) !=
PreProcessControlState
.MessageProcessed)
1484
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");