Go Back   Talk Root - PC Hardware, Software and Web Development forums > System Administration > Software > Office > Powerpoint

Sponsored Links

Reply
 
Thread Tools Search this Thread
  #1  
Old 04-05-2004, 06:56 PM
David
Guest
 
Posts: n/a
Default multiple images in one powerpoint slide

Hi,

How can I insert multiple images in one powerpoint slide, and when the presentation is shown, scrolling the mouse can navigate between the images. Thanks a lot!
Reply With Quote
  #2  
Old 04-05-2004, 10:29 PM
PPTMagician
Guest
 
Posts: n/a
Default Re: multiple images in one powerpoint slide

Hi David,

Can you be a little more specific?
You can insert as many images as you want on a slide and then when you show
the slide show move your mouse pointer all over the slide so I'm confused
about what you're trying to do.

Thanks,
Glenna

"David" <anonymous@discussions.microsoft.com> wrote in message
news:D027420B-37E5-484B-AB3C-F2D31650514A@microsoft.com...
> Hi,
>
> How can I insert multiple images in one powerpoint slide, and when the

presentation is shown, scrolling the mouse can navigate between the images.
Thanks a lot!


Reply With Quote
  #3  
Old 04-06-2004, 08:41 AM
David
Guest
 
Posts: n/a
Default Re: multiple images in one powerpoint slide

Hi Glenna,

Thank you a lot for your help!

For example, I can insert multiple images in one PowerPoint slide. The images are organized as a stack of images, i.e. the early inserted images are covered by later covered images. Then, I press F5 to show the presentation. Only the top most image on the
image stack is shown for that slide. The Page Up, Page Down key and the mouse scrolling can only switch between slides. So I want to find out a way to help user navigate between the images on the image stack. For example, mouse scrolling or define a butt
on in the slide and when user click the button, it can change the order of the image stack. Thanks!
Reply With Quote
  #4  
Old 04-06-2004, 07:00 PM
PPTMagician
Guest
 
Posts: n/a
Default Re: multiple images in one powerpoint slide

Hi David,
Have you tried custom animations? Click on any image, right click and
select custom animations.

HTH,
Glenna


"David" <anonymous@discussions.microsoft.com> wrote in message
news:F5FB6FD3-CA44-4655-914B-67BBD17D7774@microsoft.com...
> Hi Glenna,
>
> Thank you a lot for your help!
>
> For example, I can insert multiple images in one PowerPoint slide. The

images are organized as a stack of images, i.e. the early inserted images
are covered by later covered images. Then, I press F5 to show the
presentation. Only the top most image on the image stack is shown for that
slide. The Page Up, Page Down key and the mouse scrolling can only switch
between slides. So I want to find out a way to help user navigate between
the images on the image stack. For example, mouse scrolling or define a
button in the slide and when user click the button, it can change the order
of the image stack. Thanks!


Reply With Quote
  #5  
Old 04-07-2004, 10:21 AM
David
Guest
 
Posts: n/a
Default Re: multiple images in one powerpoint slide

Hi Glenna,

Thank you a lot! I tried custom animation of pictures. It is just what I want. Here I have another question: how can I add custom animation to the pictures from my code? Because I have a lot of images to insert and add effect. I don't want to do it manual
ly. I tried the Record Macro tool of PowerPoint, but it seems it does not record anything related to the add animation part. So how can I add animation from my code?

thank you a lot!
Reply With Quote
  #6  
Old 04-07-2004, 03:56 PM
David M. Marcovitz
Guest
 
Posts: n/a
Default Re: multiple images in one powerpoint slide

I think you want something like this:

Sub Animate3()
ActivePresentation.Slides(2).Shapes(3).AnimationSe ttings.EntryEffect = ppEffectAppear
End Sub

This sets the entry effect for shape 3 on slide 2 to the Appear Effect.

--David

David M. Marcovitz
Author of _Powerful PowerPoint for Educators_
[url]http://www.loyola.edu/education/PowerfulPowerPoint/[/url]

Reply With Quote
  #7  
Old 04-08-2004, 02:31 PM
David
Guest
 
Posts: n/a
Default Re: multiple images in one powerpoint slide

Thanks a lot! That is exactly what I need. Now I have another question. I tried to program user C++ instead of VB to set the animation properties of each image. Here is part of my code:

.......
// Get DISPID for the AnimationSettings method in Shape object
szFunction = OLESTR("AnimationSettings");
hr = pDispShape->GetIDsOfNames(IID_NULL, &szFunction, 1, LOCALE_USER_DEFAULT, &dispid_ShpAnimSet);
// Invoke the AnimationSettings method in Shape object
hr = pDispShape->Invoke(dispid_ShpAnimSet, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_PROPERTYGET, &dpNoArgs, &vResult, &excep, NULL);

if(FAILED(hr)) PPTErrHandler(hr, excep);

// Get IDispatch* for the AnimationSettings object
pDispAnimation = vResult.pdispVal;

// Get DISPID for the Animate method on AnimationSettings object
szFunction = OLESTR("Animate");
hr = pDispAnimation->GetIDsOfNames(IID_NULL, &szFunction, 1, LOCALE_USER_DEFAULT, &dispid_AnimAnimate);

// Prepare parameters for AnimationOrder method
VARIANT vArgsAnm[1];
DISPPARAMS dpAnm;

vArgsAnm[0].vt = VT_I4; // Parameter type: long
vArgsAnm[0].lVal = -1; // Animate = MsoTriState:msoTrue

dpAnm.cArgs = 1; // Function takes 1 parameters
dpAnm.cNamedArgs = 0;
dpAnm.rgvarg = vArgsAnm;

// Invoke the TextLevelEffect method on AnimationSettings object
hr = pDispAnimation->Invoke(dispid_AnimAnimate, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &dpAnm, &vResult, &excep, NULL);
.......

The program always fail the last statement with error message: Member not found. Do you know what's wrong with my last statement? Thank you!
Reply With Quote
  #8  
Old 04-08-2004, 03:02 PM
David M. Marcovitz
Guest
 
Posts: n/a
Default Re: multiple images in one powerpoint slide

Sorry, whatever (limited) expertise I have in programming PowerPoint is
with VBA. Perhaps someone else can help you with C++.
--David

--
David M. Marcovitz, Ph.D.
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
[url]http://www.loyola.edu/education/PowerfulPowerPoint/[/url]

"=?Utf-8?B?RGF2aWQ=?=" <anonymous@discussions.microsoft.com> wrote in
news:485D7082-526C-42B3-8FD1-D3FAC7E0A8E7@microsoft.com:

> Thanks a lot! That is exactly what I need. Now I have another
> question. I tried to program user C++ instead of VB to set the
> animation properties of each image. Here is part of my code:

Reply With Quote
  #9  
Old 04-08-2004, 03:56 PM
David
Guest
 
Posts: n/a
Default Re: multiple images in one powerpoint slide

Thanks anyway! And some addition to my code. I tried two different parameters of my last call:

1) hr = pDispAnimation->Invoke(dispid_AnimAnimate, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &dpAnm, &vResult, &excep, NULL);

The forthe parameter is: DISPATCH_METHOD. The error message is: Member not found.

2) hr = pDispAnimation->Invoke(dispid_AnimAnimate, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_PROPERTYPUT, &dpAnm, &vResult, &excep, NULL);

The forthe parameter is: DISPATCH_PROPERTYPUT. The error message is: Parameter not found.

Can anyone help me find out what the problem is? Thanks a lot!




Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Sponsored Links


All times are GMT -7. The time now is 02:37 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 (Unregistered)
© 2013 TalkRoot.com