A COM export object that supports graphics must be based on a custom IDL object that inherits from IDLgrWindow, IDLitWindow or IDLitDirectWindow (as described in Exporting Drawable Objects). Additionally, your IDL object must also implement a set of callback methods to be able to respond to mouse or keyboard events in the graphics window. These are described in Event Handling. Examples in this section include:

  • COM IDLgrWindow Based Histogram Plot Generator: Provides an object based on IDLgrWindow that creates a histogram plot for a selected image file and lets you change the plot linestyle property.
  • COM IDLitWindow Surface Manipulation: Includes a drawable IDLitWindow example with ISURFACE functionality and a custom method lets you change the active manipulator. Delete key events are captured and passed to a custom OnKeyboard method that deletes selected visualizations.