Description

Determines if a particular event notify client will receive events.

Property type

A Boolean value.  

Syntax

object.NotifyEnabled(NotifyClient) [= value]

The NotifyEnabled Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDisplay.
NotifyClientRequired. An Unknown object.

Nothing or an object that has previously registered as an event notify client for one of the two event interfaces. The custom _IMcBasicViewEvents is search for this client first, then the late binding _IMcViewEvents interface. If this client is not registered, the property is exposed as False, and nothing happens on assignment. On assignment, if Nothing, then all notify clients are set to the assigned state.

valueA Boolean value.

Remarks

This property allows particular event notification clients to be disabled or re-enabled without having to unregister and then re-register the event client. You would most generally use this to hide and show individual overlays. All overlays may be hidden via the DisplayWhat property.

Exceptions

If the NotifyClient argument is not a notify client previously registerd for event notifications either the custom _IMcBasicViewEvents interface or the late binding _IMcViewEvents, then the property is silently exposed as False. You may use the SetNotifyPriority method to determine if a particular notify client is registered.

Notes

If this McDisplay instance is the Display property for an McView instance, then there is also a corresponding McView property mirroring this one; either may be used with identical results.