Correctly sizing PowerPoint SlideShowWindow in Application Window

A

ambar_nigade

Hi

I am using PowerPoint Automation objects inside my MFC Application.
I am trying to embed PowerPoint Slideshow window inside my view.

I also have some other views separated by splitter inside my client
area.
When I close other views, I am resizing the view which has got
PowerPoint Slideshow window embedded in it.

With some hard coded values I am able to achieve some success in
fitting the slideshow window inside the client area exactly.

But when my all other views are closed, this view acquires the entire
client area and the slideshow window object even after setting to the
size of client area does not show my entire slideshow window. Some
portion of my Slideshow Window is hidden,

Can anyone tell me how slideshow window can be fit correctly inside the
client area of my application?
Or internally how PowerPoint manages to scale the slide proporationatly
to the available area and fills the remaining area with black color.

thanks
Ambar
 

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