Category External objects, Object ProDispdat

Function ProDispdatColorSet


Description
Sets the color for the display data.
Replacement in Object TOOLKIT: wfcExternalObject::AddData
wfcExternalObject::ModifyData
Synopsis
#include <ProExtobjDisp.h>
ProErrorProDispdatColorSet(
ProWExtobjdata disp_data
/* (In)
The display data
*/
ProColortype color
/* (In)
The color
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the color.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_GENERAL_ERRORThe function could not set the color.

Manual References:

  1. Event-driven Programming: External Objects: Display Data for External Objects

Sample Code References:

  1. pt_examples ( TestExtobj.c )
  2. pt_userguide ( UgExtobjCreate.c )