Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dissolve?

Status
Not open for further replies.

pokermat

Programmer
Jan 17, 2002
44
GB
Does anyone know how to 'dissolve' from 1 image to another in VB (eg. like Powerpoint does)?

Thanks.
 
I have a half-working method at work...I'll see if I can dig it out tomorrow.
 
I can do horizontal and virtical wipe effects but not disolve. Hmmm Thinking about it I might have a way.
 
strongm & SemperFiDownUnda...

Sounds intriguing, I look forward to your responses!

Also SemperFiDownUnda, I would be interested to see your code for the vertical and horizontal wipes.

Thanks.
 
I do not have the code with me but I remember an example that I got from
The process involves making your form invisible then capturing a screen shot in code. You then make your form visible. Some where along the line you figure out your position relative to the screen. Then using a random X, Y coordinate system and the PSet function you make pixels of your form the same as the pixels of the BMP you have in memory.

Good Luck
 
A Vertical and Horizotal wipe can be easily be performed by making the wipe 2 image the zorder the top but with a size 0 in one or even both directions and just increasing the size until it is full size refreshing as you go.

Problem I have with disolve is more in how to get a randomness spread of all the spots on a image without repeating any spot so it disolves at a constant rate. But I'm sure someone has a formula for that out there.
 
SemperFiDownUnda, you are correct the code I found at had taken that into consideration. Also one could look at PSC.com and look for screen savers. There are just too many ways to get effects to list.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top