User TO,CC,BCC inspector mouse events

Add-in Express™ Support Service
That's what is more important than anything else

User TO,CC,BCC inspector mouse events
User TO,CC,BCC inspector mouse events 
James Clarkson




Posts: 26
Joined: 2014-04-29
Hi

I was just wondering if anyone could assist me...
The issue I am having is I am wanting to handle the users events when they are clicking around an inspector mail item form.

what I am trying to accomplish is I have 3 buttons on the form and when you select one of the buttons it populates the To, CC or BCC with say 4 e-mail address's.

The first thing I would like is to know which one currently has focus or the last clicked in. This is so that I can push the email address' into the selected form textbox.

The next issue is after I populate the current mailitem property with the list of address' if the user then deletes this doesn't seem to be reflected in the active mailitem property.

This could all be helped if I could track lostfocus, mouse down etc..

any help would be greatly appreciated.
Posted 01 May, 2014 15:04:09 Top
Andrei Smolin


Add-in Express team


Posts: 17239
Joined: 2006-05-11
Hello James,

To do this, you need to track the positions and types of the windows containing this info. This requires using Win API (hooks). The task is not really simple. Plus, Outlook versions may differ significantly in the way they create and handle these windows. We could do this for you in the scope of custom development services. If you wish, our specialist will contact you.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 02 May, 2014 04:53:50 Top