Re: Embed Powerpoint window inside window / dialog



Also make sure you don't have any calls to app.set_Visible(TRUE);

AliR.


"Roland" <ajay.sonawane@xxxxxxxxx> wrote in message
news:1176388909.980345.266080@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Ali
one thing more, In your example, you created you own slides first and
then run slide show. In my example, I am opening existing presentation
file and then run slide show. What happens in my my case, when I run
slideshow, ppt file is also opened in powerpoint window in background,
In your case it doesn't happen because you are creating slides on the
fly.
My question is how to hide powerpoint application running in
background that shows ppt file in design mode.
Still not success with full screen presentation form that appears on
screen for some time.

Waiting for your reply.

Thanks,
Ajay


On Apr 12, 7:05 pm, "Roland" <ajay.sonaw...@xxxxxxxxx> wrote:
Ali,
Fantastic !!!

I was only missing SetWindowPos function call. Seems my all problems
are solved. I also struggling with how to hide presentation form ,
still no success.

Thanks,Ajay

On Apr 12, 2:35 am, "AliR \(VC++ MVP\)" <A...@xxxxxxxxxxxxx> wrote:



Thanks Tom. I just can't figure out how to keep the presentation from
showing fullscreen for a second. If you run the sample and press the
button, you will see it flash for a second.

I have been wondering if I can have it start offscreen first.

AliR.

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

news:9179735C-9D63-4AB3-8DF8-EB0D80CECECF@xxxxxxxxxxxxxxxx

Good stuff Ali.

Tom

"AliR (VC++ MVP)" <A...@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)" <A...@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.sonaw...@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 -- Hide quoted text -

- Show quoted text -- Hide quoted text -

- Show quoted text -




.