Previous Next Up Title Contents Index Functions Index Top Library

POST STRUCTURE

ppost_struct


CALL SEQUENCE

void ppost_struct (wkid, strid, priort)

INPUT PARAMETERS

Pint 	wkid;
Pint	strid;
Pfloat	priort;

ARGUMENTS

wkid
Workstation identifier.
strid
Identifier of structure to be posted.
priort
Structure priority (0 <= priort<= 1).

EFFECT

The function ppost_struct associates the structure strid and its network to a workstation. Any structure to be visualized must be "posted" on the workstation before the predaw_all_structs function is called.

The value of priort defines the relative importance of the structures at display. The smaller the priort value, the higher the display priority.

Example

ppost_struct (wkid, struct_id1, 1.0);
ppost_struct (wkid, struct_id2, 0.0);
predraw_all_structs (wkid, pflag_always);

With this example, predraw_all_structs first draws structure of struct_id2 identifier, then structure of struct_id1 identifier.


Previous Next Up Title Contents Index Functions Index Top Library