截取Outlook类别分配事件? [英] Intercepting Outlook category assignment events?

查看:215
本文介绍了截取Outlook类别分配事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请注意,这不是这个类似但不同的问题

我的问题不是如何拦截类别创建/重命名/删除事件,而是如何拦截用户将类别分配给某个项目(联系,会议等)。我刚刚开始探索Outlook对象模型,我正在努力得到它的工作原理。任何对正确方向的帮助将是非常棒的!

My question is not how to intercept Category create / rename / delete events, but how to intercept when a user assigns a category to an item (contact, meeting etc). I am just starting to explore the Outlook object model, and I'm struggling to 'get' how it works. Any assistance in the right direction would be fantastic!

我意识到我没有提供太多的细节,这似乎是一个请为我做的类型的问题,但是我真的只需要一个简短的想法,如果这是可能的,不幸的是我没有太多时间研究。谢谢!

I realise I'm not providing much detail and this seems like a 'please do it for me' type question, but I really only need a brief idea of if this is possible, unfortunatley I don't have much time to research. Thanks!

推荐答案

我认为您将需要和Inspector包装器和Explorer包装器来获取所有可以更改类别的位置(您可以在浏览器视图中右键单击)。

I think you will need and Inspector wrapper and and Explorer wrapper to get all the places that you can change the category (as you can right click in the explorer view).

但是,它们的任务应该触发Item PropertyChange事件。
在资源管理器中,您将必须跟踪所选项目,并选择所选项目中的每个项目的PropertyChange事件。

But they catagory assignment should fire the Item PropertyChange event. In the explorer you will have to track the selected items and wire up the PropertyChange event for each item in the selection.

Marcus

这篇关于截取Outlook类别分配事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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