Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
TitleMake an ActiveX control that controls picture transitions
DescriptionThis example shows how to make an ActiveX control that controls picture transitions in Visual Basic 6.
Keywordspicture, PictureBox, transition, image
CategoriesGraphics
 
Thanks to Neil Crosby who submitted these transition techniques.

My book Custom Controls Library contains the source code for 101 custom ActiveX controls, including one named PicturePopper. This control is a PictureBox that animates the display of a new image in one of several ways. For example, when a program sets the control's Picture property, the new image might slide over on top of the old image from left to right.

This program demonstrates an ActiveX control with several different transitions, mostly written by Neil Crosby. They are generally easy to understand (see the code). They use PaintPicture to move pieces of the new picture onto the old one.

 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated