Click here to Skip to main content
Click here to Skip to main content

Image Slider Style

, 2 Mar 2003
Rate this:
Please Sign up or sign in to vote.
A image slider, implements 20 transitional effects.

Sample Image - appspeed.gif

Introduction

I had written a program like PowerPoint, which needed some code for image slide show. In this demo project I implemented 20 transitional effects.

Using the code

To use the code just add ShowStyle.cpp and ShowStyle.h to your project. Then call MagicShow function to slide-show image.

bool MagicShow( HDC hSrcDC , int x , int y , HDC hDestDC , 
    int xd , int yd , int width , int height , 
    int iDelay, int iStep, int iStyle  );
Parameter Type Description
hSrcDC HDC Handle to the source device context
x int Specifies the logical x-coordinate of the upper-left corner of the source rectangle
y int Specifies the logical y-coordinate of the upper-left corner of the source rectangle
hDestDC HDC Handle to the destination device context
xd int Specifies the logical x-coordinate of the upper-left corner of the destination rectangle
yd int Specifies the logical y-coordinate of the upper-left corner of the destination rectangle
width int Specifies the logical width of the source and destination rectangles
height int Specifies the logical width of the source and destination rectangles
iDelay int The delay time per step
iStep int Different for every style
iStyle int Slide style

Visit this link for my other Win32 software.

History

Date Posted: 03-03-2003

Copyright

The code is free, if you want to change the source code in order to improve the features, performance, etc., please send me the new source code so that I can have a look at it. The changed source code should contain descriptions of what you have changed, and of course your name. The only thing you MAY NOT CHANGE is the ORIGINAL COPYRIGHT INFORMATION.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

jedyking

China China
No Biography provided

Comments and Discussions

 
Generaldistorting the image PinsussJJD7-Feb-05 19:11 
GeneralRe: distorting the image PinmemberJohn Simmons / outlaw programmer7-Oct-05 3:48 
Generalproblem with closing Pinmemberglowas2-Jun-03 7:27 
Generalread image from jpg Pinmemberglowas15-May-03 11:50 
GeneralNice Try! PinmemberChopper4-Mar-03 4:49 
GeneralRe: Nice Try! Pinmemberjedyking4-Mar-03 6:20 
GeneralRe: Nice Try! PinmemberJohn Simmons / outlaw programmer7-Oct-05 3:46 
GeneralRe: Nice Try! PinmemberNorm Almond4-Mar-03 10:16 
GeneralI assume you mean PinmemberGary Wheeler4-Mar-03 4:24 
GeneralRe: I assume you mean Pinmemberjedyking4-Mar-03 6:10 
GeneralI don't think so Pinmemberxuell003-Mar-03 21:46 
GeneralReally cool, but.... PinmemberChristian Graus3-Mar-03 10:37 
GeneralRe: Really cool, but.... PinmemberMarc Clifton3-Mar-03 12:23 
GeneralRe: Really cool, but.... PinmemberChristian Graus3-Mar-03 13:13 
GeneralRe: Really cool, but.... Pinmemberdswigger6-Sep-03 20:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141223.1 | Last Updated 3 Mar 2003
Article Copyright 2003 by jedyking
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid