Click here to Skip to main content
12,560,241 members (53,949 online)
Click here to Skip to main content
Add your own
alternative version


17 bookmarked

Pablo van der Meer's CAboutCtrl class ported to WTL

, 7 Sep 2002
Rate this:
Please Sign up or sign in to vote.
This control can be used as an about box for your WTL applications

Sample Image


The original CAboutCtrl class, which is written in MFC, is made up out of three parts:

  1. A background image
  2. Scrolling credits
  3. Rotating flying logo
I have ported it to WTL for my shareware. All functionality has been kept.


To use the class in your application do the following:

  1. Insert AboutCtrl.h into your project.
  2. Place a picture control on your dialog.
  3. Add a member variable for that picture control:
  4. CAboutCtrl m_AboutCtrl; 
  5. In your dialog's constructor set text for the credits:
  6. CString strCredits = "\tCAboutCtrl Example\n\n"
                         "\rProgrammed by:\n"
                         "Pablo van der Meer\n\n"
                         "\rPorted to WTL by Ma Weida\n\n"
                         "\rSpecial thanks to:\\n\n"
                         "\rCopyright ?2002\n\rPablo Software Solutions\n"
                         "\rAll right reserved.\n\n"
  7. Subclass the picture control in the message handler corresponding to WM_INITDIALOG:
  8. m_AboutCtrl.SubclassWindow(GetDlgItem(IDC_ABOUT_CTRL));

Original Article

Pablo van der Meer's original article can be found here.


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

Ma Weida
Web Developer
United States United States
C++ Coder

You may also be interested in...

Comments and Discussions

GeneralNice work! Pin
Volynsky Alex10-Aug-12 3:53
memberVolynsky Alex10-Aug-12 3:53 
GeneralNice work! Pin
Volynsky Alex10-Aug-12 3:52
memberVolynsky Alex10-Aug-12 3:52 
Generalvery nice Pin
I1ya5-Nov-02 3:30
sussI1ya5-Nov-02 3:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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
Web02 | 2.8.161026.1 | Last Updated 8 Sep 2002
Article Copyright 2002 by Ma Weida
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid