Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Displaying a moving image

0 views
Skip to first unread message

James Robins

unread,
Sep 16, 2001, 2:04:51 PM9/16/01
to
Hi all,

Does anyone here know how to display a moving image on a form or in
a picture box/image control when a command button is clicked

Thanks for your time
James Robins


Mike Labosh

unread,
Sep 16, 2001, 4:55:55 PM9/16/01
to
> Does anyone here know how to display a moving image on a form or in
> a picture box/image control when a command button is clicked

1. There is an animation control in one of the Microsoft Common Controls
components.
2. If it is an animated GIF, you could use a WebBrowser control.
3. You can simulate an animation with an array of invisible image
controls that hold onto different images and then use a timer control with a
static variable to grab the image out of the nth hidden image control into a
visible one.
4. If it is an AVI, MPG, etc... you can use a Windows Media Player
Control.
5. If you are a masochist, you can figure out the DirectX or OpenGL
libraries from the Platform SDK :)

--
Peace and happy computing,

Mike Labosh, MCP, MCT, MCSD
"Hit any user to continue."


0 new messages