EndShortcutMenu 事件 (ActiveX) 
在快捷菜单出现后触发。 支持的平台:仅限 Windows 签名VBA: object.EndShortcutMenu(ShortcutMenu) 言论使用此事件可以对快捷菜单执行任何清理工作。 显示模式对话框时不会触发任何事件。 例子VBA: Private Sub AcadDocument_EndShortcutMenu(ShortcutMenu As AutoCAD.IAcadPopupMenu)
    ' This example intercepts a drawing EndShortcutMenu event.
    '
    ' This event is triggered when the user closes a drawing shortcut menu.
    '
    ' To trigger this example event: Right click the mouse in the working area of a drawing,
    ' wait for the shortcut menu to be displayed and then dismiss the shortcut menu
    MsgBox "A shortcut menu was just closed!"
End Sub
可视化 LISP: Not available  | 
|Archiver|CAD开发者社区
( 苏ICP备2022047690号-1   苏公网安备32011402011833)
GMT+8, 2025-11-4 23:27
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.