idMso for Visio Window close和diagram close [英] idMso for Visio Window close and diagram close

查看:67
本文介绍了idMso for Visio Window close和diagram close的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





当用户点击关闭的Visio图表窗口时,需要陷阱,并且  Visio窗口本身。 我知道idMso是FileClose和FileExit,如果用户通过文件菜单,但我不知道什么是Visio图关闭和Visio Windows
关闭的idMso。任何帮助表示赞赏。

提前致谢


abahrami

解决方案

< p style ="margin:0in 0in 0pt"> Hi Abahrami,


 


您如何使用idMso进行FileClose和FileExit?


你使用的是他们在编译代码,VBA等事件中?


 


用户界面上的哪些控件描述当你说:

"我不知道什么是Visio图表的idMso关闭和Visio Windows关闭"


 


您是否在Visio UI的右上角描述了两个X图标?


右上角的X图标关闭/退出Visio



它下方的X图标将关闭活动的Visio绘图?


 


 


< p style ="margin:0in 0in 0pt"> 此外,在什么情况下如果你能捕获它们,你想使用它们吗?


在Vi中sio COM addin,自定义功能区选项卡,启动Visio等的独立C#.net应用程序?


 


请提供有关整个场景的更多详细信息,您当前能够做什么,以及如果您可以捕获事件,您想要做什么。


 


谢谢,


比尔


Hi,

Need to trap when user clicks on close Visio diagram window and also  Visio window itself.  I know the idMso are FileClose and FileExit if user go through file menu but I don’t know what is the idMso for Visio diagram close and Visio Windows close. Any help is appreciated.
Thanks in advance

abahrami

解决方案

Hi Abahrami,

 

How are you using the idMso for FileClose and FileExit?

Are you using them with events in compiled code, VBA, etc?

 

Which controls on the UI are describing when you say:
"I don’t know what is the idMso for Visio diagram close and Visio Windows close"

 

Are you describing the two X icons in the upper right hand corner of the Visio UI?

The X icon in the upper right-hand corner close/exit Visio

And

The X icon below it that will close the active Visio drawing?

 

 

Also, in what context do you want to use these if you can trap them?

In a Visio COM addin, a custom ribbon tab, a stand-alone C# .net application that starts Visio, etc.?

 

Please provide me more details around your entire scenario, what you’re currently able to do and what you want to do if you can trap the events.

 

Thanks,

Bill


这篇关于idMso for Visio Window close和diagram close的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆