how to capture events for next item
Hallo Ashish,
In outlook 2003, When open a mail there are 2 buttons in statndard menu
which are Next Item and Previous Item (in arrow symbol) in open mail window.
I am not able to capture events for these two buttons. Besides these i can
capture events for other buttons on standard menu. I can not know in my
addin when user click on these buttons. Their ids are 359 and 360.Please
suggest how to capture events for those.
You can try to put references to the two buttons for e.g. in variables
(declared 'As Office.CommandbarButton') "btnID359" and "btnID360",
then hide the buttons (.Visible= False) and add your own buttons with
the same positions and FaceIDs. In the appropriated event procs of
your buttons do what you have to do and finally do call
"btnID359.Execute" or "btnID360.Execute" to run the original
functionallity. Just some theoretical thoughts, but worth a try i
think...
--
So long...
...Bomi
!!! In case you want to reply via email please use Reply-To address and remove underscores (_) !!!
|