Click or drag to resize

mcobjUserFlags Enumeration

Constants for the McObject.UserFlags property. Note: must matchV:\Native\McObj\McObjDef.h !!! Note that the mcobjUserFlagNoAddRefInterface occupies the DIRTY_FLAG and is handled specially by CMcObject::get/put_UserFlags. Similarly the mcobjUserFlagCreatedByMainEngine occupies the CONFIG_MEMBER_FLAG and is handled specially by CMcObject::get_UserFlags (it is not assignable). Also note that the mcobjUserFlagKeepByRefVariants occupies the EXTRACT_IT_FLAG.

Namespace:  MediaCy.IQL.ObjectManager
Assembly:  MediaCy.IQL.ObjectManager (in MediaCy.IQL.ObjectManager.dll) Version: 10.0.6912.0
Syntax
VB
Public Enumeration mcobjUserFlags
Members
  Member nameValueDescription
mcobjUserFlagsCleared0All flags cleared
mcobjUserFlagsAll-1All flags
mcobjUserFlagNoAddRefInterface4When set, objects of typemcobjTypeXOBJECT and mcobjTypeINTERFACE do NOT AddRef/Release their interface data, but instead leave this as a reponsibility of the caller.
mcobjUserFlagAlwaysVector32When set, scalar objectvalues are exposed as a safe array. This flag is set or cleared automatically when the Value property is assigned. It can subsequently be set or cleared to override the default behavior.
mcobjUserFlagKeepByRefVariants64When set, objects of typemcobjTypeVARIANT will not copy the referred-to data of VT_BYREF variants. If clear (the default), then the data is copied.
mcobjUserFlagPropertyOfParent128Causes anyvalue change to fire a SNC_NOTIFY_HO_PROPERTYCHANGED SpecialNotify on the object's parent. The notify data will be the object's TagNumber.
mcobjUserFlagMinimizeProcessing256When set, gives a hint tonotify sinks or other processing code that the object is largely private and should be minimally processed if possible. This flag has no effect on the firing of notifies or other processing internal to the object manager, but it can be interpreted as needed by user code. * If this flag is set on the McObject backing a McImage instance, i.e., McEngine.McObject(mcimageInstance), then some clients are not sent certain events. In particular, most McImages events are not fired at all, even if the McImage is part of the McEngine.Images collection, and ImageChanged events are minimally handled. This state is designed for cases where very rapid image changes are made that need to be displayed, but not processed otherwise. If you want to do further processing on the image after turning off this flag, you should do a final assignment or call McRegionAccess.SignalImageChanged on the image.
mcobjUserFlagNotifyOnGetValue512When set, anmcobjSNCode_BeforeGetValue SpecialNotify is sent to standard notify clients before the Value property is returned. This allows a notify sink to set the object's Value only when it is requested. See McObject.Value for more discussion.
mcobjUserFlagDisableNotifies32768When set, standardnotifies are not sent to Notify Sinks attached to the object. You may set this flag temporarily when you will be doing a series of assignments to the Value property, and do not want to send a ValueChanged notify for each assignment. Rememeber to clear this flag before doing the last Value assignment or before doing a FireStandardNotifyToAllSinks.
mcobjUserFlagReadOnly16384When set, assignment toValue is illegal
mcobjUserFlagSystemObject1024When set, Name andTagNumber cannot be changed
mcobjUserFlagOptionBase10This flag is obsolete andno longer supported.
mcobjUserFlagsCustomMask16711680Bits 24 thru 17 areavailable for the caller's custom use
mcobjUserFlagsSettableMask16762740Only these bits aresettable, all others are reserved. Assignments are automatically and silently masked by this value.
See Also