activex object

C

C Williams

Hi,

I recently posted a similar question (which I've yet to solve!), but I
think this one is different enough to warrant its own post--I apologize
if you find it to be clutter.

I have written a sample activeX control. I can add it to a PowerPoint
slide through the toolbox. The control has a command button on it--I
want to "do something useful" when the button is pushed (for now, just
pop up a msgbox).

I can successfully push the button and have a msgbox pop up--but only
when I am giving the presentation. What do I have to do so that I can
push the button (and thus execute any code behind the button in the
control itself) while I am designing and creating the slide?

Thanks in advance for any insights!

-Casey
 
S

Shyam Pillai

Casey,
Check out some of the older articles pertaining to PPT 2000 on the MSDN site
for more information on the interfaces supported by PowerPoint.
Regards,
Shyam Pillai


http://skp.mvps.org/
 
C

C Williams

Thanks again, Steve.

As for what I really need to accomplish (before head is banged into
wall): I'm trying to make my own specialized chart. Other users will
be able to add them to slides they are designing and then
click/right-click directly on the chart and change various aspects of
it. I can't use MSGraph itself because I want to do a number of things
that it can't, but I want my object to have, more or less, the same
customization capabilities (e.g. if a user right-clicks on a data
series on my chart, they can change its color, if they right-click on
the x axis, they can change its properties).

I thought I'd be able to do this with a control, but if I can't detect
clicks at design time, I might be in trouble. I'll look into the
modeless form and the docs Shyam mentioned.

Thanks very much for your help!
 

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