STx 3.9 Documentation

Up

CMenu Member Functions

Previous

SetPopup

Next

CMenu Examples

Uncheck

Set the state of the item to unchecked. Note that this is only reflected in the context menu if the function AddPopup() is used.

Usage:

inst Uncheck index|key=value

Parameters:

index

The index of the item to return (as returned by the CMITEM message).

key=value

A key/value pair. The key must be one of the keys supported by AddItem(). The value should be a value previously passed to AddItem().

Result:

An empty string on success and an error code on failure.

© 2009 The Austrian Academy of Sciences Acoustics Research Institute