Getting special string functions LTCustomizer21 for AutoCAD LT reference manual

ActiveX
   
Event OnGetUserDefinedCmd(bstr As String)
C/C++
   LTC_get_extra_string(BSTR *bstr);

bstr:special string

OnGetUserDefinedCmd() is ActiveX event. In case of C/C++ DLL, event is a message ID you specified in LTC_enable_extra_command.

When 2nd parameter is minus in enable_extra_command(), LTCustomizer21 notifies all command line string and all histories of command line on AutoCAD LT as one string, parameter bstr. Parameter bstr is inserted \n(chr(10)) as delimiter between their strings. Under this status, if you execute add_watch_cmdline_string, LTCustomizer21 informs only specified strings on AutoCAD commandline.

Caution

These event is for watching command user type or click on AutoCAD LT. These function is not for watching strings LTCustomizer21 Application sent. If you do such a thing,behavior of LTCustomizer21 is unknown.

reference

enable_extra_command()
set_extra_word()
disable_delete_extra_command()
add_watch_cmdline_string()