DocActivated

Function Name c:<CONTROL-NAME>#OnDocActivated
Syntax   (defun c:<CONTROL-NAME>#OnDocActivated (/)
)
Return Type Ignored
Applies To Control Bar, Modeless Dialog, Palette

当用户切换到其他打开的AutoCAD图形时触发此事件。 请注意,打开新图形不会触发任何事件。 使用无模式对话框的应用程序必须安装,以便将其代码加载到每个新创建的绘图文档中,应用程序的初始化代码必须检查其必须管理的已激活对话框