Register the context manager in the Windows registry. This enables context participant applications to locate and bind to the context manager.
To create a context manager reference, call the following:
Utils.COMCreateObject("CCOW.ContextManager");
The Leadtools.Ccow.IContextSession interface supports the following operations:
.
Activates a context manager so that it represents the active session for a point-of-use device.
Instructs the context manager to create a new context manager.
Note: A new session deactivates the current session, allowing the users to share the same session.
To join a common context session, create a Context Manager:
Utils.COMCreateObject("CCOW.ContextManager");
After a context manager has been created, call the IContextManager.JoinCommonContext method to become a participant.
Calling the IContextManager.JoinCommonContext method returns a participant coupon (an integer number assigned by the context manager to the application), when it joins a common context session. This coupon is subsequently used by the application to identify itself when it calls a context manager method requiring application identification.
Note: Setting survey to true when joining the common context means the application will participate in context change surveys. If the parameter is false, the application will only be informed when a context change has been accepted.
Calling IContextManager.SuspendParticipation enables an application to indicate that it wants to suspend its active participation in a common context session, while remaining registered as a participant.
To resume a suspended participant in a common context session, call IContextManager.SuspendParticipation
After the application joins the context session, call the IContextData.GetItemNames and IContextData.GetItemValues methods to get the current context session state.
To disconnect the application from the context session, call the IContextManager.LeaveCommonContext method.
Products |
Support |
Feedback: CCOW ActiveX Context Participant Responsibilities |
Introduction |
Help Version 19.0.2017.6.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.