Click or drag to resize

IMcGraphOverlay2NotifyContext Property

When a notify is in progress, gives the notify depth and indicates if the notify was caused by some user action.

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
Property NotifyContext As mcGraphOverlayNotifyContext
	Get
	Set

Property Value

Type: mcGraphOverlayNotifyContext

Implements

IMcGraphOverlayNotifyContext
Remarks
The low order bits of the NotifyContext property are a numeric count of the notify depth (which will be zero if no notify is in progress). The other values are bit flags that indicate if the notify currently in progress was caused by some user action. Two of these flags (mcgoncFromTool and mcgoncDragging) are set automatically. The other flag (mcgoncFromUser) must be set by assignment before calling a method (e.g., EditPaste) that will produce a notify and that you want to flag as being user intiated. The mcgoncFromTool and/or mcgoncDragging can be set before assigning to McGraphObj.RotatedPostion or McGraphObj.RotatedHandle to indicate that the assignment is made from a tool and whether it is dragging or not. A special use of the NotifyContext property is made when a value of mcgoncSend_UseAsDefaultOverlay_Notify or mcgoncSend_AutoTraceCalledFor_Notify is assgined to it. This immediately fires an ObjectPropertyChanged event with an Object of Nothing and a PropertyId of ID_IMcGraphOverlay2_UseAsDefaultOverlay or ID_IMcGraphOverlay2_AutoTraceCalledFor, respectively . The event handler for the ID_IMcGraphOverlay2_UseAsDefaultOverlay notify uses this notification to save the current set of AnnotationOverlay properties as the default. The event handler for the ID_IMcGraphOverlay2_AutoTraceCalledFor will show a control panel for setting auto trace speed and options.
See Also