Post Message to Powerpoint Slide window

B

Barry Mellor

Hi All,

Please...can anybody give me a few suggestions on how to
send a Mouse click message to the Powerpoint slide window?

I have written a COM-addin for Powerpoint which has its
own window. When this has the focus and a user clicks on
a Powerpoint slide it takes the focus from the add-in but
Powerpoint requires a second click to work the slide.

The addin can detect the mouse click in the slide window.
I would like to send a second click message to work the
slide. My attempt just gets ignored!

::postMessage
(g_HwndPowerPoint,WM_LBUTTONDOWN,MK_LBUTTON, 0);

::postMessage
(g_HwndPowerPoint,WM_LBUTTONUP,MK_LBUTTON, 0);


Any suggestions will be very much appreciated.

Many thanks
Barry Mellor
 

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