Event handling?

  • Thread starter Thread starter Ram
  • Start date Start date
R

Ram

Hi,
i am using outlook2000 and VC++6.0
i have written a COM-Addin. In this addin i have added two
buttons to the outlook explorer.
I have written event handling by using sinking . Here i have used
"IDispsimpleEventImpl" interface.

i have done successfully.

But i want to add CommandBarButtons and menu button to Inspector window
also.
For this reason we have handled "InspectorEvents"

The addition of all Buttons and DispAdvise have written in Invoke method to
add buttons Inspector Windows
But no Buttons are added.

Inspite of that i am facing another problem, that is , when i click button
which is on Explore window this invoke method is calling ,so event handling
is failed.

Please suggest me how can resolve this solution.
How can add buttons to Inspector Windows
 
Ram said:
Hi,
i am using outlook2000 and VC++6.0
i have written a COM-Addin. In this addin i have added two
buttons to the outlook explorer.
I have written event handling by using sinking . Here i have used
"IDispsimpleEventImpl" interface.

i have done successfully.

But i want to add CommandBarButtons and menu button to Inspector window
also.
For this reason we have handled "InspectorEvents"

The addition of all Buttons and DispAdvise have written in Invoke method to
add buttons Inspector Windows
But no Buttons are added.

Inspite of that i am facing another problem, that is , when i click button
which is on Explore window this invoke method is calling ,so event handling
is failed.

Please suggest me how can resolve this solution.
How can add buttons to Inspector Windows
 
Ram said:
Hi,
i am using outlook2000 and VC++6.0
i have written a COM-Addin. In this addin i have added two
buttons to the outlook explorer.
I have written event handling by using sinking . Here i have used
"IDispsimpleEventImpl" interface.

i have done successfully.

But i want to add CommandBarButtons and menu button to Inspector window
also.
For this reason we have handled "InspectorEvents"

The addition of all Buttons and DispAdvise have written in Invoke method to
add buttons Inspector Windows
But no Buttons are added.

Inspite of that i am facing another problem, that is , when i click button
which is on Explore window this invoke method is calling ,so event handling
is failed.

Please suggest me how can resolve this solution.
How can add buttons to Inspector Windows
 
Back
Top