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