91 references to _axState
System.Windows.Forms (91)
System\Windows\Forms\ActiveX\AxHost.cs (91)
192
_axState
[s_assignUniqueID] = !GetType().GUID.Equals(s_comctlImageCombo_Clsid);
193
_axState
[s_needLicenseKey] = true;
194
_axState
[s_rejectSelection] = true;
210
if (
_axState
[s_fOwnWindow] && IsUserMode())
221
return
_axState
[mask];
226
_axState
[mask] = value;
380
return (
_axState
[s_fOwnWindow] && (ocState > OC_RUNNING || (IsUserMode() && ocState >= OC_RUNNING)))
423
if (containingControl.Visible && Visible && !
_axState
[s_fOwnWindow])
815
private bool OwnWindow() =>
_axState
[s_fOwnWindow] ||
_axState
[s_fFakingWindow];
821
if (
_axState
[s_addedSelectionHandler])
831
_axState
[s_addedSelectionHandler] = true;
849
if (!
_axState
[s_addedSelectionHandler])
859
_axState
[s_addedSelectionHandler] = false;
865
if (DesignMode && hook !=
_axState
[s_renameEventHooked])
881
_axState
[s_renameEventHooked] = hook;
891
if (
_axState
[s_disposed])
931
if (olduMode != newuMode && !IsHandleCreated && !
_axState
[s_disposed])
1023
if (
_axState
[s_fOwnWindow])
1029
else if (
_axState
[s_fNeedOwnWindow])
1032
_axState
[s_fNeedOwnWindow] = false;
1033
_axState
[s_fFakingWindow] = true;
1046
if (
_axState
[s_fNeedOwnWindow])
1184
_axState
[s_handlePosRectChanged] = true;
1193
if (
_axState
[s_fFakingWindow])
1223
if (
_axState
[s_manualUpdate])
1238
_axState
[s_handlePosRectChanged] = false;
1266
WindowAssignHandle(handle,
_axState
[s_assignUniqueID]);
1268
_axState
[s_manualUpdate] = true;
1278
if (
_axState
[s_fOwnWindow])
1290
if (
_axState
[s_inTransition])
1297
_axState
[s_inTransition] = true;
1312
if (
_axState
[s_fFakingWindow])
1344
_axState
[s_inTransition] = false;
1350
if (
_axState
[s_inTransition])
1357
_axState
[s_inTransition] = true;
1364
_axState
[s_disposed] = false;
1382
_axState
[s_ownDisposing] = false;
1383
Debug.Assert(!
_axState
[s_fOwnWindow], "If we are invis at runtime, we should never be going beyond OC_RUNNING");
1384
if (!
_axState
[s_fOwnWindow])
1408
if (!IsUserMode() && !
_axState
[s_ocxStateSet])
1444
_axState
[s_inTransition] = false;
1469
_axState
[s_ownDisposing] = true;
1494
Debug.Assert(
_axState
[s_fFakingWindow], "have to be faking it in order to destroy it...");
1502
_axState
[s_fFakingWindow] = false;
1541
if ((IsHandleCreated || value) && ParentInternal is not null && ParentInternal.Created && !
_axState
[s_fOwnWindow])
1546
if (
_axState
[s_fFakingWindow])
1577
Debug.Assert(!
_axState
[s_fFakingWindow], "if we were visible, we could not have had a fake window...");
1584
_axState
[s_fNeedOwnWindow] = false;
1587
if (!
_axState
[s_fOwnWindow])
1621
Debug.Assert(!
_axState
[s_fOwnWindow], "can't own our window when hiding");
1631
_axState
[s_fNeedOwnWindow] = true;
1674
if (
_axState
[s_siteProcessedInputKey])
1686
_axState
[s_siteProcessedInputKey] = false;
1723
return
_axState
[s_siteProcessedInputKey] && base.PreProcessMessage(ref msg);
1728
_axState
[s_siteProcessedInputKey] = false;
1825
Debug.Assert(!
_axState
[s_disposed], "we could not be asking for the object when we are axState[disposed]...");
1833
_axState
[s_ocxStateSet] = true;
1852
_axState
[s_manualUpdate] = _ocxState.ManualUpdate;
2018
if (
_axState
[s_valueChanged])
2020
_axState
[s_valueChanged] = false;
2185
bool ownDispose =
_axState
[s_ownDisposing];
2186
_axState
[s_ownDisposing] = true;
2194
_axState
[s_ownDisposing] = ownDispose;
2215
if (_licenseKey is not null || !
_axState
[s_needLicenseKey])
2236
_axState
[s_needLicenseKey] = false;
2431
if (!
_axState
[s_editorRefresh] && HasPropertyPages())
2433
_axState
[s_editorRefresh] = true;
2510
if (
_axState
[s_refreshProperties])
2520
return
_axState
[s_refreshProperties];
2524
_axState
[s_refreshProperties] = value;
2525
if (value && !
_axState
[s_listeningToIdle])
2528
_axState
[s_listeningToIdle] = true;
2530
else if (!value &&
_axState
[s_listeningToIdle])
2533
_axState
[s_listeningToIdle] = false;
2873
if (!
_axState
[s_sinkAttached])
2885
_axState
[s_sinkAttached] = true;
2891
if (
_axState
[s_sinkAttached])
2902
_axState
[s_sinkAttached] = false;
3167
if (
_axState
[s_processingKeyUp])
3172
_axState
[s_processingKeyUp] = true;
3182
_axState
[s_processingKeyUp] = false;
3240
if (!
_axState
[s_fFakingWindow])
3242
WindowAssignHandle(hwnd,
_axState
[s_assignUniqueID]);
3365
_axState
[s_rejectSelection] = true;
3384
=> GetControlEnabled() && !
_axState
[s_rejectSelection] && base.CanSelectCore();
3410
private bool GetSiteOwnsDeactivation() =>
_axState
[s_ownDisposing];
3443
_axState
[s_disposed] = true;
3446
_axState
[s_sinkAttached] = false;
3460
_axState
[s_fOwnWindow] = bits.HasFlag(OLEMISC.OLEMISC_INVISIBLEATRUNTIME) && IsUserMode();
3463
_axState
[s_fSimpleFrame] = bits.HasFlag(OLEMISC.OLEMISC_SIMPLEFRAME);