25 references to PreProcessControlState
System.Windows.Forms (21)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3175
if (PreProcessControlMessage(ref m) !=
PreProcessControlState
.MessageProcessed)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (4)
1864
PreProcessControlState
messageState = PreProcessControlMessageInternal(target, ref msg);
1867
case
PreProcessControlState
.MessageProcessed:
1874
case
PreProcessControlState
.MessageNeeded:
1890
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)
8618
public
PreProcessControlState
PreProcessControlMessage(ref Message msg)
8621
internal static
PreProcessControlState
PreProcessControlMessageInternal(Control? target, ref Message message)
8627
return
PreProcessControlState
.MessageNotNeeded;
8650
return
PreProcessControlState
.MessageNeeded;
8654
PreProcessControlState
state =
PreProcessControlState
.MessageNotNeeded;
8664
state =
PreProcessControlState
.MessageNeeded;
8673
state =
PreProcessControlState
.MessageNeeded;
8679
state =
PreProcessControlState
.MessageProcessed;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (4)
1401
if (PreProcessControlMessage(ref m) !=
PreProcessControlState
.MessageProcessed)
1420
if (PreProcessControlMessage(ref m) !=
PreProcessControlState
.MessageProcessed)
1460
if (PreProcessControlMessage(ref m) !=
PreProcessControlState
.MessageProcessed)
1485
if (PreProcessControlMessage(ref m) !=
PreProcessControlState
.MessageProcessed)
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (1)
145
bool f = Host.PreProcessControlMessage(ref msg) ==
PreProcessControlState
.MessageProcessed;
WindowsFormsIntegration (4)
System\Windows\Integration\ApplicationInterop.cs (4)
117
SWF.
PreProcessControlState
processedState = control.PreProcessControlMessage(ref m);
119
if (processedState == SWF.
PreProcessControlState
.MessageNeeded)
137
else if (processedState == SWF.
PreProcessControlState
.MessageProcessed)
145
Debug.Assert(processedState == SWF.
PreProcessControlState
.MessageNotNeeded, "invalid state");