Difference in behavior between PPT2K3 and ActiveX Test Container?

D

Daniel Young

I've developed an MFC C++ ActiveX control using VS.NET 2003. This control
should be capable of updating its own displayed text, and does so
appropriately in the Text Control Container in VS.NET. However, when loaded
into PPT2003, the only way I can get the control to refresh is by manually
altering the size of the control. No amount of calls to InvalidateControl()
or any other redraw method from within the control's code seems to redraw the
control's window.

I've tried this with both a windowed and windowless control. If I set the
control as a static type, the text will update when I set it, but PPT then
ignores any word-wrapping flags set on the control. Likewise, it does not
word-wrap the text when manually resized. This also works in the Test
Container.

I suppose the basic question is: Does PowerPoint just not support
standalone, non-add-in ActiveX controls, or is there some alternate method
that must be implemented to allow such a control to redraw itself?

Thanks to anyone who feels like give me some insight into this matter...
 

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