Event raised when closing or opening a CodePane

落花浮王杯 提交于 2019-12-10 10:36:54

问题


I'm writing a VBE/VBIDE add-in and I have a tool window that changes based on the open CodePane objects. Is there an event I can monitor when a code pane is added or removed from the CodePanes collection?

The CodePanes collection itself appears to have no Events associated with it.

If there is no event available, I'm open to other workarounds. Polling would be a reliable fallback, but I'd rather not go that route if I could avoid it.

来源:https://stackoverflow.com/questions/44391917/event-raised-when-closing-or-opening-a-codepane

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!