ClientWnd.cpp 990 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // ClientWnd.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "LYFZIPManage.h"
  5. #include "ClientWnd.h"
  6. #include "JPEG.h"
  7. #ifdef _DEBUG
  8. #define new DEBUG_NEW
  9. #undef THIS_FILE
  10. static char THIS_FILE[] = __FILE__;
  11. #endif
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CClientWnd
  14. CClientWnd::CClientWnd()
  15. {
  16. }
  17. CClientWnd::~CClientWnd()
  18. {
  19. }
  20. BEGIN_MESSAGE_MAP(CClientWnd, CWnd)
  21. //{{AFX_MSG_MAP(CClientWnd)
  22. ON_WM_ERASEBKGND()
  23. //}}AFX_MSG_MAP
  24. END_MESSAGE_MAP()
  25. /////////////////////////////////////////////////////////////////////////////
  26. // CClientWnd message handlers
  27. BOOL CClientWnd::OnEraseBkgnd(CDC* pDC)
  28. {
  29. // TODO: Add your message handler code here and/or call default
  30. return CWnd::OnEraseBkgnd(pDC);
  31. /* CRect rc;
  32. GetClientRect(rc);
  33. CPicture jpg;
  34. jpg.Load (NULL, MAKEINTRESOURCE(IDR_JPEP1), _T("JPEP"));
  35. if(jpg.m_pPict ==NULL)return 1;
  36. jpg.RenderBmp (pDC, rc);
  37. jpg.UnloadPicture ();*/
  38. return 1;//CWnd::OnEraseBkgnd(pDC);
  39. }