Click here to Skip to main content
Licence 
First Posted 2 Mar 2003
Views 87,227
Bookmarked 48 times

Image Slider Style

By | 2 Mar 2003 | Article
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

About the Author

jedyking



China China

Member



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

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
Generaldistorting the image PinsussJJD18:11 7 Feb '05  
GeneralRe: distorting the image PinmemberJohn Simmons / outlaw programmer2:48 7 Oct '05  
Generalproblem with closing Pinmemberglowas6:27 2 Jun '03  
Generalread image from jpg Pinmemberglowas10:50 15 May '03  
GeneralNice Try! PinmemberChopper3:49 4 Mar '03  
GeneralRe: Nice Try! Pinmemberjedyking5:20 4 Mar '03  
GeneralRe: Nice Try! PinmemberJohn Simmons / outlaw programmer2:46 7 Oct '05  
GeneralRe: Nice Try! PinmemberNorm Almond9:16 4 Mar '03  
GeneralI assume you mean PinmemberGary Wheeler3:24 4 Mar '03  
GeneralRe: I assume you mean Pinmemberjedyking5:10 4 Mar '03  
GeneralI don't think so Pinmemberxuell0020:46 3 Mar '03  
GeneralReally cool, but.... PinmemberChristian Graus9:37 3 Mar '03  
GeneralRe: Really cool, but.... PinmemberMarc Clifton11:23 3 Mar '03  
GeneralRe: Really cool, but.... PinmemberChristian Graus12:13 3 Mar '03  
GeneralRe: Really cool, but.... Pinmemberdswigger19:45 6 Sep '03  

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.

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