Category External objects, Object ProSeldat

Function ProSeldatSelboxesGet


Description
Retrieves the selection box list and its length, given the selection data.
Replacement in Object TOOLKIT: wfcExternalObject::RemoveData
wfcExternalObject::GetData
Synopsis
#include <ProExtobjSel.h>
ProErrorProSeldatSelboxesGet(
ProWExtobjdata sel_data
/* (In)
The selection data.
*/
ProSelbox** p_selbox_arr
/* (Out)
The allocated array of selection boxes. Use ProArrayFree() to free the allocated memory.
*/
int* p_selbox_num
/* (Out)
The number of selection boxes.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_GENERAL_ERRORThe function could not retrieve the information.
See Also
ProArrayFree

Manual References:

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

Sample Code References:

  1. pt_examples ( TestExtobj.c )