Applies To: |
|
Summary: |
I would like to create an ActiveX control
that integrates into CitectSCADA and allows me to detect settings
like security and language. What do I need to know? |
Solution: | |||||||||||||||||||||||||||||||||
This CitectSCADA Knowledge Base article
assumes the reader is very familiar with COM and ActiveX. It is
beyond the scope of this article to explain ActiveX concepts. For
more details please refer to the Microsoft Developer Network. CitectSCADA Knowledge Base article Q3876 “Common Questions about ActiveX Controls in CitectSCADA” covers the most common questions about using ActiveX controls in CitectSCADA. Article Q3876 should be read before reading this article. Ambient Properties The CitectSCADA Runtime ActiveX container exposes a number of custom ambient properties. The DSPIDs of the properties is as follows:
In addition CitectSCADA also supports the following ‘standard’ ambient properties as defined in <olectl.h>:
Connection Point Events The CitectSCADA Runtime ActiveX container will query all ActiveX
controls for an IConnectionPointContainer interface and then
subscribe to all IConnectionPoint interfaces. This is used to allow
the runtime to detect events from controls, allowing event handlers
to be written. [ } |
Keywords: |
ActiveX control container event connection point ambient properties background colour |
Related Links
Attachments