Application Security Testing: An Integral Part of DevOps
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.
- Insert the .h and .cpp files into your project.
- Create a static control into your dialog resource; it will be the placeholder for the control.
- Add a member variable, like this:
- In your InitDialog message handler, create the control and place it in the right position:
// 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.
DownloadsDownload executable demo - 8 Kb
Download source - 15 Kb