20 references to OC_INPLACE
System.Windows.Forms (20)
System\Windows\Forms\ActiveX\AxHost.cs (15)
380|| ocState >= OC_INPLACE; 426else if (!containingControl.Visible && Visible && IsHandleCreated && GetOcState() >= OC_INPLACE) 430else if (containingControl.Visible && !GetState(States.Visible) && IsHandleCreated && GetOcState() >= OC_INPLACE) 922TransitionUpTo(OC_INPLACE); 1040TransitionUpTo(OC_INPLACE); 1158if (GetOcState() < OC_INPLACE) 1308SetOcState(OC_INPLACE); 1310case OC_INPLACE: 1422if (GetOcState() < OC_INPLACE) 1424SetOcState(OC_INPLACE); 1429case OC_INPLACE: 1622Debug.Assert(GetOcState() >= OC_INPLACE, "have to be in place in order to hide."); 1625if (GetOcState() < OC_INPLACE) 1633SetOcState(OC_INPLACE); 3135if (GetOcState() >= OC_INPLACE)
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (5)
295_host.TransitionUpTo(OC_INPLACE); 298if (_host.GetOcState() < OC_INPLACE) 355_host.SetOcState(OC_INPLACE); 411if (_host.GetOcState() > OC_INPLACE) 413_host.SetOcState(OC_INPLACE);