MyCommandsActiveState

Returns or sets active Structured State for the MyCommands, so that you can dynamically activate or deactivate a set of commands, specific to a particular state in a window or application.

Syntax

C++

HRESULT DgnEngineControl::put_MyCommandsActiveState( BSTR StateName );
HRESULT DgnEngineControl::get_MyCommandsActiveState( BSTR * StateName );

Microsoft Visual Basic

DgnEngineControl.MyCommandsActiveState As String

Argument Description
StateName The name of the active MyCommands Structured State.