22 references to OC_INPLACE
System.Windows.Forms (22)
winforms\Managed\System\WinForms\AxHost.cs (22)
569ocState >= OC_INPLACE); 613else if (!f.Visible && Visible && IsHandleCreated && GetOcState() >= OC_INPLACE) { 616else if (f.Visible && !GetState(STATE_VISIBLE) && IsHandleCreated && GetOcState() >= OC_INPLACE) { 1314TransitionUpTo(OC_INPLACE); 1423TransitionUpTo(OC_INPLACE); 1547if (GetOcState() < OC_INPLACE) return; 1681Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose && GetOcState() == OC_INPLACE, "failed transition"); 1682SetOcState(OC_INPLACE); 1684case OC_INPLACE: 1784if (GetOcState() < OC_INPLACE) { 1785SetOcState(OC_INPLACE); 1789case OC_INPLACE: 1845Debug.Assert(GetOcState() >= OC_INPLACE, "we have to be in place in order to ui activate..."); 1958Debug.Assert(GetOcState() >= OC_INPLACE, "have to be in place in order to hide."); 1961if (GetOcState() < OC_INPLACE) { 1970SetOcState(OC_INPLACE); 3497if (GetOcState() >= OC_INPLACE) { 4186host.TransitionUpTo(OC_INPLACE); 4188if (host.GetOcState() < OC_INPLACE) 4255host.SetOcState(OC_INPLACE); 4296if (host.GetOcState() > OC_INPLACE) { 4297host.SetOcState(OC_INPLACE);