Re: Embed Powerpoint window inside window / dialog



Good stuff Ali.

Tom

"AliR (VC++ MVP)" <AliR@xxxxxxxxxxxxx> wrote in message news:gsbTh.4867$5e2.4106@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Here is a sample.

http://www.learnstar.com/AliR/PowerPointSample.zip

The only problem right now is that the presentation window flashes on the screen for a split second as a full screen window. I am working on that part, but this should be a good start.
Run the sample exe and press the "Push me" button and you will see a two page presentation in the middle of the dialog.
The example was written using VS 2003.

AliR.

"AliR (VC++ MVP)" <AliR@xxxxxxxxxxxxx> wrote in message news:MLaTh.7862$u03.4344@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have been trying to put together an example for you, but the problem that I have run into so far is the fact that the persentation is fullscreen, and I can't figure out a way to change that setting.

AliR.

"Roland" <ajay.sonawane@xxxxxxxxx> wrote in message news:1176291665.491797.227410@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
But not very much helpful to me. I had already worked on this thing,
Setting parent didn't work out. I guess we need to something extra to
accomplish it.

Thanks,
Ajay

On Apr 10, 7:47 pm, "AliR \(VC++ MVP\)" <A...@xxxxxxxxxxxxx> wrote:
Sounds good to me.

AliR.

"Tom Serface" <tom.nos...@xxxxxxxxxxxxx> wrote in message

news:CF5D72B5-D021-4FB6-B0F3-82B8733D14EA@xxxxxxxxxxxxxxxx



> OK, I've never tried to do this, but perhaps this will work for you > (I'm
> hoping Ali didn't already post this :o) It looks to me from the VB > code
> like it's just changing the PowerPoint's parent window to be that of > the
> form. This article talks about how to get that window handle.

>http://support.microsoft.com/kb/261997

> Tom

> "Roland" <ajay.sonaw...@xxxxxxxxx> wrote in message
>news:1176181347.776248.191190@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> Hi Tom and Ali,
>> I already went through these articles and created demo's. This >> example
>> doesn't fit to my need as I want to show slideshow inside a dilalog >> or
>> inside my frame.

>> Please follow this link where slideshow has been shown inside a >> frame
>> control.

>>http://skp.mvps.org/vb/pptvbwnd.htm

>> But this thing is done in VB, I want to immitate it in MFC for a
>> dialog or a win32 window. I don't want to open PowerPoint in another
>> window, I want to embed activex control ( if it is there ?) inside a
>> dialog which is created by my application. My dialog should act as a
>> host window for slideshow.

>> I hope its pretty much clear to you guys.

>> Thanks,
>>Ajay

>> On Apr 9, 10:57 pm, "Tom Serface" <tom.nos...@xxxxxxxxxxxxx> wrote:
>>> In that case maybe OP needs something like:

>>>http://support.microsoft.com/kb/237554

>>> To get started :o)

>>> Tom

>>> "AliR (VC++ MVP)" <A...@xxxxxxxxxxxxx> wrote in
>>> messagenews:TFuSh.2039$Q23.648@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

>>> > You know what just popped into my head. Maybe he wants to >>> > extract
>>> > each
>>> > frame out of the file, and run the presentation himself.

>>> > AliR.

>>> > "AliR (VC++ MVP)" <A...@xxxxxxxxxxxxx> wrote in message
>>> >news:cgtSh.2468$zC.1736@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>>> >> LOL

>>> >> "AjayKalra" <ajayka...@xxxxxxxxx> wrote in message
>>> >>news:1176133687.408663.9140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>>> >>>> On his Friday post he said he didn't like that link. :)

>>> >>> That was Friday. Easter is now gone. Link is now very useful.

>>> >>> ---
>>> >>>Ajay- Hide quoted text -

>>> - Show quoted text -- Hide quoted text -

- Show quoted text -







.


Loading