Click here to Skip to main content
Licence 
First Posted 18 Jul 2002
Views 71,254
Bookmarked 35 times

CAboutCtrl - Aboutbox Credits Control

By | 18 Jul 2002 | Article
This control can be use as an about box for your applications

Sample Image

Description:

This is a yet another control which can be use as an aboutbox for your applications. The control is derived from CStatic and is made up out of three parts:

  1. A background image
  2. Scrolling credits
  3. Rotating flying logo

Usage:

To use the class in your application you need to do the following:

  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_AboutCtrl; 
    To this:
    CAboutCtrl m_AboutCtrl; 
  6. In your dialog's constructor set text for the credits:
  7. CString strCredits = "\tCAboutCtrl Example\n\n"
                         "\rProgrammed by:\n"
                         "Pablo van der Meer\n\n"
                         "\rSpecial thanks to:\nwww.codeproject.com\n\n"
                         "\rCopyright © 2002\n\rPablo Software Solutions\n"
                         "\rAll right reserved.\n\n"
                         "http:\\www.pablovandermeer.nl\n";
    m_AboutCtrl.SetCredits(strCredits);

Contacting the Author

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

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

Pablo van der Meer

Web Developer

Netherlands Netherlands

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
QuestionShow the text faster after flying out of the window Pinmemberdressman19814:56 21 Apr '07  
GeneralCan't make the link Pinmemberpblais8:49 19 Apr '07  
Generalnice work but... PinmemberUMER91112:47 16 Jun '05  
GeneralRe: nice work but... PinmemberPablo van der Meer20:59 16 Jun '05  
QuestionRe: nice work but... Pinmemberyiruirui19:33 10 Apr '12  
QuestionHow to move the credit dc Pinsusskkez9:10 8 Jan '05  
Generalits work on wince !! Pinmemberriki_risnandar7:55 30 Dec '04  
GeneralNice Work PinmemberKoundinya2:48 22 Apr '04  
GeneralGreat Job PinmemberDimitris Vassiliades9:18 1 Feb '03  
General5/5 Brill! PinmemberNorm Almond23:52 15 Nov '02  
GeneralNice! PinmemberShog99:21 21 Jul '02  
Generalkewl PinmemberColin Davies10:24 20 Jul '02  

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 19 Jul 2002
Article Copyright 2002 by Pablo van der Meer
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid