Cicode Programming Reference > Cicode Function Categories > Display Functions Introduction > DspRubEnd

DspRubEnd

Ends the rubber band selection, and returns the coordinates of the rubber band selection. The meaning of the cx and cy values depend on the nMode you specify in the DspRubStart() function.

Syntax

DspRubEnd(x, y, cx, cy)

x,y:

The x and y coordinates of the start position.

cx,cy:

The x and y coordinates of the end position.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

DspRubStart, DspRubMove, DspRubSetClip

Example

See DspRubStart

See Also

Display Functions