CommandBarButton Invoke

N

NickP

Hi there,

I have a COM Addin for PowerPoint (C++) and when the button is pressed
the Invoke method gets called numerous times. I presume that this is
because I need to filter the events that are being invoked? How would I
only respond to a single click of the button through this method?

The signature is as follows.

Invoke(DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags,
DISPPARAMS* pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT*
puArgErr)

Nick.
 
N

NickP

Hi there,

As far as I can remember I handled this through that entry point of the
application that was being called.

Nick.
 
Top