how to add commandbarbutton to inspector window

R

Ram

i have studied them. but they have explained upto the level of adding
commandbarbutton to explore window but not to inspector window.
please suggest another way
 
R

Ram

Hi,

Thanks very much i have resovle the problem
here is the solution

we have to handle InspectorEvents and we have to write new method,
which will be called when inspector window is called.
in that method we have to pass

void __stdcall CAddin::OnNewInspector(CComQIPtr<Outlook::_Inspector>
inspector)



like this. creation and adding the button are normal,like how we create for
explore window.

thanks all for your help
 
Top