Event handling?

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
 
M

mishra.basant

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
 
M

mishra.basant

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top