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

Image Slider Style

By , 2 Mar 2003
 

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

About the Author

jedyking

China China
No Biography provided

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
Generaldistorting the imagesussJJD7-Feb-05 18:11 
GeneralRe: distorting the imagememberJohn Simmons / outlaw programmer7-Oct-05 2:48 
Generalproblem with closingmemberglowas2-Jun-03 6:27 
Generalread image from jpgmemberglowas15-May-03 10:50 
GeneralNice Try!memberChopper4-Mar-03 3:49 
GeneralRe: Nice Try!memberjedyking4-Mar-03 5:20 
GeneralRe: Nice Try!memberJohn Simmons / outlaw programmer7-Oct-05 2:46 
GeneralRe: Nice Try!memberNorm Almond4-Mar-03 9:16 
GeneralI assume you meanmemberGary Wheeler4-Mar-03 3:24 
GeneralRe: I assume you meanmemberjedyking4-Mar-03 5:10 
GeneralI don't think somemberxuell003-Mar-03 20:46 
GeneralReally cool, but....memberChristian Graus3-Mar-03 9:37 
GeneralRe: Really cool, but....memberMarc Clifton3-Mar-03 11:23 
GeneralRe: Really cool, but....memberChristian Graus3-Mar-03 12:13 
GeneralRe: Really cool, but....memberdswigger6-Sep-03 19:45 

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

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