#
CwDeselectObject

### Syntax:

    call CwDeselectObject hObject

            hObject         (handle) The handle of the object to deselect.

### Description:

This procedure causes the object referenced by "hObject" to no longer be selected. If the provided object is not currently selected, this procedure does nothing.

An object is selected either by being clicked on with the mouse or by a call to CwSelectObject. The selected object is the one highlighted with a moving marquee (i.e. the "ants").

### Example:

    /* Deselect the selected object. */
    h = CwGetSelectedObject()
    if CwIsHandleValid(h) then
            call CwDeselectObject h

Functions by NAME | Index | Functions by PURPOSE