Visual Studio 6Visual C++ 7.0Windows 2000Visual C++ 6.0Windows XPMFCIntermediateDevVisual StudioWindowsC++
CAboutCtrl - Aboutbox Credits Control






4.67/5 (14 votes)
Jul 19, 2002

90171

1870
This control can be use as an about box for your applications
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:
- A background image
- Scrolling credits
- Rotating flying logo
Usage:
To use the class in your application you need to do the following:
- Insert the .h and .cpp files into your project.
- Add a static control into your dialog resource.
- Add a member variable for that static control.
- Modify the variable declaration.
- In your dialog's constructor set text for the credits:
Change this:
CStatic m_AboutCtrl;To this:
CAboutCtrl m_AboutCtrl;
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);