25 references to PreProcessControlState
System.Windows.Forms (21)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3207if (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)
962if (Control.PreProcessControlMessageInternal(target, ref m) == PreProcessControlState.MessageProcessed) 971if (Control.PreProcessControlMessageInternal(target, ref m) == PreProcessControlState.MessageProcessed)
System\Windows\Forms\Control.cs (9)
8582public PreProcessControlState PreProcessControlMessage(ref Message msg) 8585internal static PreProcessControlState PreProcessControlMessageInternal(Control? target, ref Message message) 8591return PreProcessControlState.MessageNotNeeded; 8614return PreProcessControlState.MessageNeeded; 8618PreProcessControlState state = PreProcessControlState.MessageNotNeeded; 8628state = PreProcessControlState.MessageNeeded; 8637state = PreProcessControlState.MessageNeeded; 8643state = PreProcessControlState.MessageProcessed;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (4)
1399if (PreProcessControlMessage(ref m) != PreProcessControlState.MessageProcessed) 1418if (PreProcessControlMessage(ref m) != PreProcessControlState.MessageProcessed) 1458if (PreProcessControlMessage(ref m) != PreProcessControlState.MessageProcessed) 1483if (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");