Display Matrix-like CreditsCMatrixCtrl Control

This is a control that 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. The control is devired from CWnd.

Here is how you use this class:

  1. Insert the .h and .cpp files into your project.

  2. Create a static control into your dialog resource; it will be the placeholder for the control.

  3. Add a member variable, like this:
  4. CMatrixCtrl m_MatrixCtrl;
  5. In your InitDialog message handler, create the control and place it in the right position:
  6. // determine the rectangle for the control
    CRect rect;
    GetDlgItem(IDC_PLACEHOLDER)  >GetWindowRect(rect);
    ScreenToClient(rect);
    
    m_MatrixCtrl.SetCredits("What is The Matrix?,This is
        The Matrix!,Programmed by,Pablo van der Meer,Pablo
        Software Solutions,http://www.pablovandermeer.nl");
    // create the control
    m_MatrixCtrl.Create(WS_VISIBLE | WS_CHILD, rect, this);
    

For more cool projects, visit Pablo Software Solutions.

Downloads

Download executable demo - 8 Kb
Download source - 15 Kb


Comments

  • a char drizzle rather than a rain

    Posted by zapped on 03/04/2004 05:59am

    rather than a character's rain seems to be a character's drizzle. It's a bit slow and with very few characters dropping down..

    Reply
  • HELP

    Posted by Legacy on 10/06/2003 12:00am

    Originally posted by: Nemiziz

    how do u do this in noobie english???
    plz email me and tell me

    Reply
  • I Need Help

    Posted by Legacy on 06/10/2003 12:00am

    Originally posted by: Matrix Code Is Cool!

    I Run A Mac OS X Version 10.1.5 And I Use Project Builder (Or
    Something Like That) For Coding And Running Code. Can Use
    This Cool Thing With It?

    Reply
  • COOL

    Posted by Legacy on 06/05/2003 12:00am

    Originally posted by: Yoda II

    hi i am making a vb project and wondr if you know how to do the matrix thing in that without the bit going across the middle

    Reply
  • Nice Effect

    Posted by Legacy on 05/29/2003 12:00am

    Originally posted by: Code Guy

    Thanks for donating the code. It makes for a nice touch to typically boring things like "about" dialog boxes and any short (2 to 4 line) messages that need to be jazzed up.

    -Code Guy

    Reply
  • missing files

    Posted by Legacy on 05/09/2003 12:00am

    Originally posted by: Neo

    in the dowmloaded version there are some files "*.h" are missing. wot happened to them?

    Reply
  • KooL effect man

    Posted by Legacy on 08/06/2002 12:00am

    Originally posted by: Code Mastr

    nice wrk ;)

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …

  • Businesses are moving more and more of their customer transactions to the web. Security is understandably a top concern as online transactions increase, so it is important to make sure your electronic signature provider meets the highest security standards. That means more than simply passing a security audit or obtaining a certification. This white paper provides recommendations for taking a broader view of e-signature security, and answers key questions that help identify the security requirements against …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds