Home > Working with SGWorld > ISGWorld > OnCommandValueChanged
This event occurs when a standard TerraExplorer menu command’s value is changed.
JavaScript |
|
OnCommandValueChanged( CommandID, newVal) |
C# |
|
void OnCommandValueChanged( int CommandID, object newVal) |
C++ |
|
HRESULT OnCommandValueChanged( long CommandID, VARIANT newVal) |
Parameters
CommandID
The ID of the menu command whose value is being checked.
newVal
The command’s new value.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.