IMcDisplaySetNotifyPriority Method
|
|
Specify or inquire as to the order in which event clients will
receive events.
Namespace:
MediaCy.IQL.Display.Viewer
Assembly:
MediaCy.IQL.Display.Viewer (in MediaCy.IQL.Display.Viewer.dll) Version: 10.0.6912.0
SyntaxFunction SetNotifyPriority (
NotifyClient As Object,
Priority As Integer
) As Integer
Parameters
- NotifyClient
- Type: SystemObject
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. - Priority
- Type: SystemInt32
The desired new notify order priority. Any negative number
implies the largest priority order (i.e., the last to be notified), while 1
specifies that the desired priority is the first to be notified. If 0 is
supplied, then no priority change will be made, but the existing priority is
returned.
Return Value
Type:
Int32The notify priority on entry, or zero if the NotifyClient is not an
event notify client for either event interface. The notify priority is 1 for
the first client notified for either event interface.
RemarksAll clients of the custom events interface _IMcBasicViewEvents
receive notifications before any clients of the late binding _IMcViewEvents
events interface (this is the one that VB will reference when "With Events"
is used).
Note |
---|
If this McDisplay instance is the Display property for an McView instance,
then there is also a corresponding McView method mirroring this one; either
may be used with identical results. |
See Also