Loading...
 

GetObjectsSelected

GetObjectsSelected

GetObjectsSelected(windowID, oboxID), GetObjectsSelected(, oboxID), GetObjectsSelected

Parameters: Identifier of a window and an object box

Stack
Stack Position Description
Stack(In) -
Stack(Out) Top ]
Top 1 On
. . . . . .
Top-n O1
Top n-1 [

is obtained for an object box with flag SELECT_MULTIPLE, where the objects O1, O2, ..., On are selected (see example). If no object is selected, an empty vector is placed on the stack.

221815
GetObjectsSelected always returns a vector on the stack even without the SELECT_MULTIPLE flag. In older dll versions, without the SELECT_MULTIPLE flag, either the selected object or INVALID was placed on the stack.

Note the difference to GetObject.