Category Selection, Object ProSelection

Function ProSelectExternalselectionRecord


Description
Places external selection into ProSelect() buffer. Together with ProSelectExternalhighlightRegister() provides interaction between external application media like a tree and ProSelect(). Upon an object selection in their media, applications should create ProSelection and use ProSelectExternalselectionRecord to pass it to ProSelect().
Replacement in Object TOOLKIT: wfcWSelection::RecordExternalSelection
Synopsis
#include <ProSelection.h>
ProErrorProSelectExternalselectionRecord(
ProSelection selection
/* (In)
Created by an external application.
*/
ProSelectRecordAction action
/* (In)
PRO_SELECT_OVERRIDE for unmodified selection. PRO_SELECT_TOGGLE for CTRL modified selection.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully placed selection.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_INVALID_ITEMRejected by ProSelect() filters.

Manual References:

  1. Event-driven Programming: External Objects: Selecting the Node from the External Application Tree