Click here to Skip to main content
11,428,497 members (62,443 online)
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 Pin
JJD7-Feb-05 19:11
sussJJD7-Feb-05 19:11 
GeneralRe: distorting the image Pin
John Simmons / outlaw programmer7-Oct-05 3:48
memberJohn Simmons / outlaw programmer7-Oct-05 3:48 
Generalproblem with closing Pin
glowas2-Jun-03 7:27
memberglowas2-Jun-03 7:27 
Generalread image from jpg Pin
glowas15-May-03 11:50
memberglowas15-May-03 11:50 
GeneralNice Try! Pin
Chopper4-Mar-03 4:49
memberChopper4-Mar-03 4:49 
GeneralRe: Nice Try! Pin
jedyking4-Mar-03 6:20
memberjedyking4-Mar-03 6:20 
GeneralRe: Nice Try! Pin
John Simmons / outlaw programmer7-Oct-05 3:46
memberJohn Simmons / outlaw programmer7-Oct-05 3:46 
GeneralRe: Nice Try! Pin
Norm Almond4-Mar-03 10:16
memberNorm Almond4-Mar-03 10:16 
GeneralI assume you mean Pin
Gary Wheeler4-Mar-03 4:24
memberGary Wheeler4-Mar-03 4:24 
GeneralRe: I assume you mean Pin
jedyking4-Mar-03 6:10
memberjedyking4-Mar-03 6:10 
GeneralI don't think so Pin
xuell003-Mar-03 21:46
memberxuell003-Mar-03 21:46 
GeneralReally cool, but.... Pin
Christian Graus3-Mar-03 10:37
memberChristian Graus3-Mar-03 10:37 
GeneralRe: Really cool, but.... Pin
Marc Clifton3-Mar-03 12:23
memberMarc Clifton3-Mar-03 12:23 
GeneralRe: Really cool, but.... Pin
Christian Graus3-Mar-03 13:13
memberChristian Graus3-Mar-03 13:13 
GeneralRe: Really cool, but.... Pin
dswigger6-Sep-03 20:45
memberdswigger6-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.150428.2 | Last Updated 3 Mar 2003
Article Copyright 2003 by jedyking
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid