Iit is not possible to create a custom message form to which the user would add an unspecified number of voting buttons at run time -- in other words one generic form that all users could use -- and have that form run code to respond to the voting button clicks.
There are potentially other ways to accomplish what you want to do, but none of them are very simple. The one that might be most appealing -- assuming that you're in an Exchange environment and can publish to the Organizational Forms library -- would be to adapt the techniques used in the holiday distribution form listed at
http://www.outlookcode.com/d/forms/holiday.htm . The read page of the form, for example, might display the list of dates set out in the body of the compose page of the form.
An alternative, if you are determined to use voting buttons, would be to hook into the CustomAction event using the technique shown at
http://www.outlookcode.com/codedetail.aspx?id=526. To make this work for everyone, though, would require building and distributing a COM add-in.
The C++ sample add-in at
http://www.codeproject.com/atl/outlook2k3addin.asp also shows a technique for working with the context menu.
However, I have to be frank with you: If you don't write much code and you're not interested in learning at least a few Outlook ins and outs, this project may be more than you want to tackle.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers