Hi Henry,
My requiremet is similar to Abdulla's. I need to include a custom toolbar
with some buttons in all inspectors which are of message class 'IPM.Post'. I
use VC++ in my project.
First, I tried handling OnNewInspector event in which I tried inserting my
custom toolbar & advising the commandBar button event. This worked fine for
the first inspector(i.e. when I click new MailMessage for the first time) &
the problem raised when I tried opening another mail message. Technically
the problem was, I was not able to advise the commandBar button event for
the new inspector when it was already advised for the previous inspector.
After surfing the net, I read that my task can be very well accomplished if
I handle the 'Activate' & 'DeActivate' events of 'InspectorEvents'.
But to handle this 'Activate' & 'DeActivate' events of 'InspectorEvents', I
again have to advise them in 'OnNewInspector' which again gives me the same
problem.
Please help me out. This a very urgent requirement & I have already spent
more time on exploring this.
Awaiting for your help,
Shree
url:
http://www.ureader.com/msg/1079162.aspx