RMC_COVisible function.
Hide or unhide a CustomObject.

Syntax
nResult (LONG) = RMC_COVisible(
ByVal nCtrlId (LONG),
ByVal nCOIndex (LONG),
ByVal nHide (LONG)
)
Parameter
nCtrlId (LONG)
Unique ID of the chart control.
nCOIndex (LONG)
Index of the CustomObject.
nHide (LONG)
If 0, this object is visible, otherwise it's hidden.
Return value
0
No error, function succeeded.
RMC_ERROR_CTRLID
Wrong control ID (0 or no chart with this control ID was found).
RMC_ERROR_CUSTOMINDEX
Parameter nCOIndex is not valid (either 0 or it exceeds the maximum number of CustomObjects (200).