image\bookopn_shg.gif Using hotspots

 

Definition

Hotspots are vector objects on edit layers that send messages to associated programs when placed or activated or both. When activated, they generally cause actions to occur, such as opening programs, copying windows, or echoing text. Hotspots allow communication between Imagenation and client applications, which can be any DDE-sensitive applications.

Appearance

The visible part of the hotspot is the object or objects that make up the hotspot. Hotspots can be attached to any objects other than annotations, and can be drawn in different shapes. Hotspots cannot be unbound. They can be placed on edit layers of the Full Edit or Hotspot type.

Shape of pointer over hotspot object:

image\hotspot_shg.gif

Structure

The "invisible" part of a hotspot is its identifier and its data:

· The identifier is assigned automatically when a user places a hotspot. The integration can be advised of hotspot placement by registering appropriate notifications. When a hotspot is placed through API integration, the identifier is specified as one of the parameters.

· Hotspot data can be any NULL-terminated ASCII string. Hotspots can be defined such that the user has to type in the data, or it can be supplied by the integration.

Using hotspots

The following topics give details about using hotspots in integrations.

image\page_shg.gif Defining hotspot icons

image\page_shg.gif Defining hotspot data

image\page_shg.gif Defining hotspot IDs

image\page_shg.gif Placing hotspots

image\page_shg.gif Deleting hotspots

image\page_shg.gif Activating hotspots

See also

Placing vector objects

Modifying vector objects