Click here to Skip to main content
11,479,162 members (56,595 online)
Click here to Skip to main content

CMatrixCtrl - Matrix Credits Control

, 24 Jul 2002 101.2K 2.5K 37
Rate this:
Please Sign up or sign in to vote.
This is an attempt to create a control which looks a little bit like the credits of the Matrix movie.

Sample Image

Description:

This is an attempt to create a control which looks a little bit like the credits of the Matrix movie. While it isn’t the greatest clone of the Matrix credits, it turned out really well. I decided that I wanted the text on the background to be readable as well, so I didn't use the Matrix font (although it might have looked more realistic that way). The control is derived from CWnd.

Usage:

Here is how you use this class:

  1. Insert the .h and .cpp files into your project.
  2. Add a static control into your dialog resource.
  3. Add a member variable for that static control.
  4. Modify the variable declaration.

  5. Change this:
    CStatic m_MatrixCtrl; 
    To this:
    CMatrixCtrl m_MatrixCtrl; 
  6. And finally in your InitDialog message handler set some text for the credits:
  7. m_MatrixCtrl.SetCredits("What is The Matrix?, This is The Matrix!, "
    		"Programmed by, Pablo van der Meer, Pablo Software Solutions, "
    		"http://www.pablovandermeer.nl");

Contacting the Author

Please send any comments or bug reports to me via email. For any updates to this article and other cool projects like this, check my site here.

Revision history

  • 18th July 2002 - Initial revision.
  • 22th May 2002 - Control is now a little bit easier to use. Fixed initialization problem.

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

Pablo van der Meer
Web Developer
Netherlands Netherlands
No Biography provided

Comments and Discussions

 
GeneralSome more corrections for compiling in VC7 Pin
C++ Hacker23-Jan-03 2:41
memberC++ Hacker23-Jan-03 2:41 

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
Web04 | 2.8.150520.1 | Last Updated 25 Jul 2002
Article Copyright 2002 by Pablo van der Meer
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid