CAD开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

ActiveX 开发指南

相关分类

EndShortcutMenu Event (ActiveX)

2023-1-2 23:48| 发布者: admin| 查看: 381| 评论: 0|来自: AutoCAD

摘要: 在快捷菜单出现后触发。

在快捷菜单出现后触发。

支持的平台:仅窗口

签名

工 务 局:

object.EndShortcutMenu(ShortcutMenu)
对象

类型:文档

计算结果为有效容器对象的对象表达式。在这种情况下,唯一有效的容器是文档。

快捷菜单

类型:弹出菜单对象;处理程序的输入/输出

已显示的快捷菜单。

言论

使用此事件可以在快捷菜单上执行任何清理工作。

显示模式对话框时不会触发任何事件。

例子

工 务 局:

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

Visual LISP:

Not available

路过

雷人

握手

鲜花

鸡蛋

最新评论

QQ|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 )

GMT+8, 2024-5-12 13:47

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部