Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
883 B

  1. // FinPic.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "lcwiz.h"
  5. #include "FinPic.h"
  6. #include "transbmp.h"
  7. #include "resource.h"
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CFinalPicture
  15. CFinalPicture::CFinalPicture()
  16. {
  17. }
  18. CFinalPicture::~CFinalPicture()
  19. {
  20. }
  21. BEGIN_MESSAGE_MAP(CFinalPicture, CStatic)
  22. //{{AFX_MSG_MAP(CFinalPicture)
  23. ON_WM_PAINT()
  24. //}}AFX_MSG_MAP
  25. END_MESSAGE_MAP()
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CFinalPicture message handlers
  28. void CFinalPicture::OnPaint()
  29. {
  30. CPaintDC dc(this); // device context for painting
  31. CTransBmp transbmp;
  32. transbmp.LoadBitmap(IDB_END_FLAG);
  33. transbmp.DrawTrans(&dc, 0, 0);
  34. // Do not call CStatic::OnPaint() for painting messages
  35. }