Windows Develop Bookmark and Share   
 index > Windows Forms General > Moving images fluently
 

Moving images fluently

I am looking for technique which allows to fluently move several images over the form without using DirectX & Open GL. Several images should be moved simultaneously but with different speed. Also one more feature: I should be able to change their (moved images) opacity during moving. Does anybody know good algorithm (or may be article, example, link) to implement these features?
Sergey Pikhulya  Wednesday, May 10, 2006 7:40 PM

In the absence of DirectX, you're just going to draw them onto the screen in your paint handler. I don't see what other options you have ?

cgraus  Wednesday, May 10, 2006 8:36 PM

In the absence of DirectX, you're just going to draw them onto the screen in your paint handler. I don't see what other options you have ?

cgraus  Wednesday, May 10, 2006 8:36 PM

Dear Sergey,

Well, if you decide not to use DirectX, open GL, It is bit more painful and you will have to do it all yourself :) You can do this by one of the option which was done by us few years ago with Windows Forms.

You need to define multiple Panels (Dymanically created) and get the Graphics on that. This all panels has to be in collection or LInked List (Manully managed). Once you do this you need to have your logic to control the speed and opacity based on time/location etc.

It will need extensive coding, but for sure it is achievable as we have done it :)

Cheers,

- Chittesh

Chittesh  Tuesday, August 08, 2006 12:58 AM

You can use google to search for other answers

Custom Search

More Threads

• Model Dialog box causes another application to get focus
• SyncronizationContext null for console applicaitons
• Launching child form on a new thread
• Problem with access database
• Model View Controller using TreeView control
• How to access the public methods of existing Windows Form
• equivalent of server.mappath for windows sesrvice
• Software Security issue
• How to Test Whether Window/Form Open - Restart of Thread
• Checking if a directory exists.