I'm creating a Outlook2010 add-in that will display how many email in a folder let's call it foo and it have many sub folders (During ribbon load, i have aggregated all the item count from foo and its sub folders. I have no problem with this part. However, if a user drag and drop a email from let's say Inbox into foo folder or any of its sub folder or vice versa then the item count on the custom ribbon will not reflect.

I tried to use folder beforeitemmove event but i wasn't get it to fire and also since user can create as many sub folder under foo as they want. I don't think beforeitemmove event will work.

Is there a way to update a ribbon control (button)