MainFrm.cpp
Upload User: hongxinly
Upload Date: 2022-06-13
Package Size: 2588k
Code Size: 1k
Category:

Special Effects

Development Platform:

Visual C++

  1. // MainFrm.cpp : implementation of the CMainFrame class
  2. //
  3. #include "stdafx.h"
  4. #include "ShowDIB.h"
  5. #include "MainFrm.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CMainFrame
  13. IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd)
  14. BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)
  15. //{{AFX_MSG_MAP(CMainFrame)
  16. //}}AFX_MSG_MAP
  17. END_MESSAGE_MAP()
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CMainFrame construction/destruction
  20. CMainFrame::CMainFrame()
  21. {
  22. }
  23. CMainFrame::~CMainFrame()
  24. {
  25. }
  26. BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
  27. {
  28. return CFrameWnd::PreCreateWindow(cs);
  29. }
  30. /////////////////////////////////////////////////////////////////////////////
  31. // CMainFrame diagnostics
  32. #ifdef _DEBUG
  33. void CMainFrame::AssertValid() const
  34. {
  35. CFrameWnd::AssertValid();
  36. }
  37. void CMainFrame::Dump(CDumpContext& dc) const
  38. {
  39. CFrameWnd::Dump(dc);
  40. }
  41. #endif //_DEBUG
  42. /////////////////////////////////////////////////////////////////////////////
  43. // CMainFrame message handlers