25 references to PreProcessControlState
System.Windows.Forms (21)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3174if (PreProcessControlMessage(ref m) != PreProcessControlState.MessageProcessed)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (4)
1872PreProcessControlState messageState = PreProcessControlMessageInternal(target, ref msg); 1875case PreProcessControlState.MessageProcessed: 1882case PreProcessControlState.MessageNeeded: 1898case PreProcessControlState.MessageNotNeeded:
System\Windows\Forms\Application.ThreadContext.cs (2)
961if (Control.PreProcessControlMessageInternal(target, ref m) == PreProcessControlState.MessageProcessed) 970if (Control.PreProcessControlMessageInternal(target, ref m) == PreProcessControlState.MessageProcessed)
System\Windows\Forms\Control.cs (9)
8577public PreProcessControlState PreProcessControlMessage(ref Message msg) 8580internal static PreProcessControlState PreProcessControlMessageInternal(Control? target, ref Message message) 8586return PreProcessControlState.MessageNotNeeded; 8609return PreProcessControlState.MessageNeeded; 8613PreProcessControlState state = PreProcessControlState.MessageNotNeeded; 8623state = PreProcessControlState.MessageNeeded; 8632state = PreProcessControlState.MessageNeeded; 8638state = PreProcessControlState.MessageProcessed;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (4)
1400if (PreProcessControlMessage(ref m) != PreProcessControlState.MessageProcessed) 1419if (PreProcessControlMessage(ref m) != PreProcessControlState.MessageProcessed) 1459if (PreProcessControlMessage(ref m) != PreProcessControlState.MessageProcessed) 1484if (PreProcessControlMessage(ref m) != PreProcessControlState.MessageProcessed)
System\Windows\Forms\Controls\WebBrowser\WebBrowserSiteBase.cs (1)
146bool f = Host.PreProcessControlMessage(ref msg) == PreProcessControlState.MessageProcessed;
WindowsFormsIntegration (4)
System\Windows\Integration\ApplicationInterop.cs (4)
119SWF.PreProcessControlState processedState = control.PreProcessControlMessage(ref m); 121if (processedState == SWF.PreProcessControlState.MessageNeeded) 139else if (processedState == SWF.PreProcessControlState.MessageProcessed) 147Debug.Assert(processedState == SWF.PreProcessControlState.MessageNotNeeded, "invalid state");